diff options
Diffstat (limited to 'gui-wm/dwl')
| -rw-r--r-- | gui-wm/dwl/dwl-9999.ebuild | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild index d317ec0..7cd7497 100644 --- a/gui-wm/dwl/dwl-9999.ebuild +++ b/gui-wm/dwl/dwl-9999.ebuild @@ -136,6 +136,13 @@ BDEPEND=" " +src_prepare() { + restore_config config.h + + default +} + + # The following src_configure function is implemented as default by portage, so # you only need to call it if you need a different behaviour. #src_configure() { @@ -161,7 +168,7 @@ BDEPEND=" # The following src_compile function is implemented as default by portage, so # you only need to call it, if you need different behaviour. -#src_compile() { +src_compile() { # emake is a script that calls the standard GNU make with parallel # building options for speedier builds (especially on SMP systems). # Try emake first. It might not work for some packages, because @@ -170,12 +177,12 @@ BDEPEND=" # visual clue to others that the makefiles have bugs that have been # worked around. - #emake -#} + emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl +} # The following src_install function is implemented as default by portage, so # you only need to call it, if you need different behaviour. -#src_install() { +src_install() { # You must *personally verify* that this trick doesn't install # anything outside of DESTDIR; do this by reading and # understanding the install part of the Makefiles. @@ -199,4 +206,9 @@ BDEPEND=" # install # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. -#} + + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc CHANGELOG.md README.md + + save_config config.h +} |
