From 26f0c69db71c3ec41a7969b009a67e24a647aa0f Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 11:58:27 +0100 Subject: Recette de findutils mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- findutils/Pkgfile | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'findutils/Pkgfile') diff --git a/findutils/Pkgfile b/findutils/Pkgfile index a8f88a3..a1667f9 100644 --- a/findutils/Pkgfile +++ b/findutils/Pkgfile @@ -1,20 +1,24 @@ description="Basic directory searching utilities" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +packager="CRUX System Team " +maintainer="Lukc " url="http://www.gnu.org/software/findutils/" depends=() name=findutils version=4.4.2 release=1 -source=(http://ftp.gnu.org/pub/gnu/findutils/findutils-4.4.2.tar.gz) +source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz) build () { - cd $name-$version; - ./configure --prefix=/usr --disable-nls --mandir=/usr/man; - make; - make DESTDIR=$PKG install; - rm $PKG/usr/bin/{updatedb,locate}; - rm $PKG/usr/man/man1/{updatedb.1,locate.1}; - rm -r $PKG/usr/{libexec,share,var,man/man5} + cd $name-$version; + ./configure \ + --prefix=$prefix \ + --mandir=$mandir \ + $(use_enable nls); + make; + make DESTDIR=$PKG install; + rm $PKG$prefix/bin/{updatedb,locate}; + rm $PKG$mandir/man1/{updatedb.1,locate.1}; + # Don’t know what it does… but it seems… a bad thing. + #rm -r $PKG/usr/{libexec,share,var,man/man5} } -- cgit v1.2.3-70-g09d2