1 # Contributor: Jens Staal <staal1978@gmail.com>
2 # Contributor: Sascha Biermmanns <saschakb at gmail dot com>
7 pkgdesc="The Heirloom Toolchest of standard UNIX utilities, derived from original UNIX tools"
8 url="http://heirloom.sourceforge.net/tools.html"
9 license=('custom:"opensolaris"' 'custom:"lucent"')
10 depends=('heirloom-sh-cvs' 'heirloom-devtools-cvs')
11 makedepends=('cvs' 'bc')
12 source=('000-config.diff' '001-staticdep.diff' '002-nowhat.diff' 'makefile.patch')
13 md5sums=('f9be8f1cc57f87425b39414a7db06543'
14 '115355b6058592f9ba16a1c011f27ecd'
15 '7394fc957b4fe5a58e4f43d7e283e96b' '9112b52fddffa66cd464eeecd0109a21')
18 env PATH="/usr/heirloom/bin:$PATH" MAKEFLAGS="" make "$@"
22 cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom login
24 cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom co -P heirloom
27 cp -ar $srcdir/heirloom $srcdir/build
30 patch -p1 < ../000-config.diff
31 patch -p1 < ../001-staticdep.diff
32 patch -p1 < ../002-nowhat.diff
33 patch $srcdir/build/makefile -i $srcdir/makefile.patch
41 _hmake install ROOT="$pkgdir"
43 mkdir -p $startdir/pkg/usr/share/licenses/$pkgname/
44 install -m0644 ${startdir}/src/heirloom/LICENSE/LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE
45 install -m0644 ${startdir}/src/heirloom/LICENSE/OPENSOLARIS.LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/OPENSOLARIS.LICENSE
46 install -m0644 ${startdir}/src/heirloom/LICENSE/LUCENT ${startdir}/pkg/usr/share/licenses/${pkgname}/LUCENT