-
-
Save Gottox/9ad8cdf2dd6567b28ddc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/srcpkgs/fortune-mod/template b/srcpkgs/fortune-mod/template | |
index 9f2f0a7..3f2b6c0 100644 | |
--- a/srcpkgs/fortune-mod/template | |
+++ b/srcpkgs/fortune-mod/template | |
@@ -9,29 +9,4 @@ license="GPL-2" | |
homepage="http://www.redellipse.net/code/fortune" | |
distfiles="${DEBIAN_SITE}/main/f/fortune-mod/${pkgname}_${version}.orig.tar.gz" | |
checksum=fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace | |
- | |
- | |
-# | |
-# This helper is for templates using GNU Makefiles. | |
-# | |
-do_build() { | |
- : ${make_cmd:=make} | |
- | |
- ${make_cmd} \ | |
- CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \ | |
- CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="$STRIP" \ | |
- COOKIEDIR=/usr/share/fortune \ | |
- LOCALDIR=/usr/local/share/fortune \ | |
- ${makejobs} ${make_build_args} all fortune/fortune.man | |
-} | |
- | |
-do_install() { | |
- : ${make_cmd:=make} | |
- : ${make_install_target:=install} | |
- | |
- ${make_cmd} ${make_install_args} FORTDIR="${DESTDIR}"/usr/bin \ | |
- COOKIEDIR="${DESTDIR}"/usr/share/fortune \ | |
- BINDIR="${DESTDIR}"/usr/bin \ | |
- BINMANDIR="${DESTDIR}"/usr/share/man/man1 \ | |
- FORTMANDIR="${DESTDIR}"/usr/share/man/man6 ${make_install_target} | |
-} | |
+build_style=gnu-makefile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment