summaryrefslogtreecommitdiffstats
path: root/make/Pkgfile
blob: cfa78b49301fec12fb8ac0deef4a843d80546ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
description="BSD implementation of make."
packager="Lukc <lukc AT upyum DOT com>"
maintainer="Lukc <lukc AT upyum DOT com>"
url=
depends=()

name=pmake
version=1.111
release=1
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
}