summaryrefslogtreecommitdiffstats
path: root/make/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-22 14:57:57 +0100
committerLukc <lukc@upyum.com>2010-12-22 14:57:57 +0100
commitf000de6a5cc0c2482d408a9e601e29c9dbe724b1 (patch)
tree87c1ac49e35ad909b75000f4b959442c7b5d4ced /make/Pkgfile
parent61cd5ac87ec2d942e73aec034cf1ba56b94891df (diff)
downloaddevel-f000de6a5cc0c2482d408a9e601e29c9dbe724b1.tar.gz
devel-f000de6a5cc0c2482d408a9e601e29c9dbe724b1.tar.bz2
devel-f000de6a5cc0c2482d408a9e601e29c9dbe724b1.tar.xz
devel-f000de6a5cc0c2482d408a9e601e29c9dbe724b1.zip
Recette de make ajoutée, et ancienne recette de make renommée en gmake.
Diffstat (limited to 'make/Pkgfile')
-rw-r--r--make/Pkgfile28
1 files changed, 16 insertions, 12 deletions
diff --git a/make/Pkgfile b/make/Pkgfile
index e548ea3..cfa78b4 100644
--- a/make/Pkgfile
+++ b/make/Pkgfile
@@ -1,17 +1,21 @@
-description="GNU implementation of make."
-packager="CRUX System Team <core-ports AT crux DOT nu>"
+description="BSD implementation of make."
+packager="Lukc <lukc AT upyum DOT com>"
maintainer="Lukc <lukc AT upyum DOT com>"
-url="http://www.gnu.org/software/make/"
+url=
depends=()
-name=make
-version=3.82
+name=pmake
+version=1.111
release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
-build ()
-{
- cd $name-$version;
- ./configure --prefix=$prefix --mandir=$mandir $(use_enable nls);
- make;
- make DESTDIR=$PKG install;
+source=(ftp://ftp.de.debian.org/debian/pool/main/p/pmake/${name}_${version}.orig.tar.gz)
+
+build () {
+ cd pmake
+ make -f Makefile.boot \
+ ${CTARGET:+CC=$CTARGET-gcc} \
+ CFLAGS="$CFLAGS -DHAVE_STRDUP -DHAVE_STRERROR"
+ mkdir -pv $PKG$bindir
+ install -m0755 bmake $PKG$bindir/pmake
+ ln -sf pmake $PKG$bindir/make
}
+