summaryrefslogtreecommitdiffstats
path: root/make/Pkgfile
diff options
context:
space:
mode:
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
}
+