diff options
author | Lukc <lukc@upyum.com> | 2010-12-21 09:54:02 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-21 09:54:02 +0100 |
commit | 4e64ce3b7ff980a304e18684d2d612396ad975f1 (patch) | |
tree | 51020adff3d5c3f54a42e37ea1fc5b53e2237fad | |
parent | 84554eaf86c76cb6ec17291142fa50f000c7984c (diff) | |
download | base-4e64ce3b7ff980a304e18684d2d612396ad975f1.tar.gz base-4e64ce3b7ff980a304e18684d2d612396ad975f1.tar.bz2 base-4e64ce3b7ff980a304e18684d2d612396ad975f1.tar.xz base-4e64ce3b7ff980a304e18684d2d612396ad975f1.zip |
Recette mise à jour, mais le logiciel échoue lamentablement lors de la création d’une page de manuel.
-rw-r--r-- | coreutils/Pkgfile | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/coreutils/Pkgfile b/coreutils/Pkgfile index 2ca3a21..40c0f70 100644 --- a/coreutils/Pkgfile +++ b/coreutils/Pkgfile @@ -1,4 +1,4 @@ -description="A collection of core GNU utilities" +description="A collection of core GNU utilities." packager="" maintainer="CRUX System Team, core-ports at crux dot nu" url="http://www.gnu.org/software/coreutils/" @@ -7,16 +7,22 @@ depends=(libgmp acl libcap) name=coreutils version=8.7 release=1 -source=(http://ftp.gnu.org/pub/gnu/coreutils/coreutils-8.7.tar.xz coreutils-uname.patch) +source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz coreutils-uname.patch) build () { - cd $name-$version; - patch -p1 -i $SRC/coreutils-uname.patch; - ./configure --prefix=/usr --mandir=/usr/man --disable-nls --disable-assert --enable-no-install-program=uptime,kill,chcon,runcon,groups; - make; - make DESTDIR=$PKG install; - mkdir $PKG/bin; - mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin; - mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin; - rm -r $PKG/usr/share + cd $name-$version; + patch -p1 -i $SRC/coreutils-uname.patch; + ./configure \ + ${CTARGET:+--host=${CTARGET}} \ + ${CHOST:+--build=${CHOST}} \ + --prefix=$prefix \ + --mandir=$mandir \ + $(use_enable nls) \ + --disable-assert \ + --enable-no-install-program=uptime,kill,chcon,runcon,groups; + make; + make DESTDIR=$PKG install; + mkdir $PKG/bin; + mv $PKG$prefix/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin; + mv $PKG$prefix/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin; } |