diff options
Diffstat (limited to 'diffutils/Pkgfile')
-rw-r--r-- | diffutils/Pkgfile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/diffutils/Pkgfile b/diffutils/Pkgfile index 4a6c7aa..e7a0b9f 100644 --- a/diffutils/Pkgfile +++ b/diffutils/Pkgfile @@ -1,18 +1,22 @@ -description="Package with the GNU diff, diff3, sdiff, and cmp utilities" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Package with the GNU diff, diff3, sdiff, and cmp utilities." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://www.gnu.org/software/diffutils/" depends=() name=diffutils version=3.0 release=1 -source=(http://ftp.gnu.org/gnu/diffutils/diffutils-3.0.tar.xz) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man --disable-nls; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/share + cd $name-$version; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir \ + $(use_enable nls); + make; + make DESTDIR=$PKG install; } |