summaryrefslogtreecommitdiffstats
path: root/coreutils/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-03-04 06:42:10 +0100
committerpiernov <piernov@piernov.org>2012-03-04 06:42:10 +0100
commit4a954dbdc36028178be488a67365ddb45b84d80b (patch)
tree789ba23bd521d34e5be0d63c1fb3677bd232627d /coreutils/Pkgfile
parentbaa7ef7cffe6c97defa85bfdd22bb391d1f4504b (diff)
downloadnutyx-pakxe-4a954dbdc36028178be488a67365ddb45b84d80b.tar.gz
nutyx-pakxe-4a954dbdc36028178be488a67365ddb45b84d80b.tar.bz2
nutyx-pakxe-4a954dbdc36028178be488a67365ddb45b84d80b.tar.xz
nutyx-pakxe-4a954dbdc36028178be488a67365ddb45b84d80b.zip
coreutils 8.15-1 màj port
Diffstat (limited to 'coreutils/Pkgfile')
-rwxr-xr-xcoreutils/Pkgfile47
1 files changed, 25 insertions, 22 deletions
diff --git a/coreutils/Pkgfile b/coreutils/Pkgfile
index 7f9776a4b..c4ea10047 100755
--- a/coreutils/Pkgfile
+++ b/coreutils/Pkgfile
@@ -4,33 +4,36 @@
# Packager: thierryn1 at hispeed dot ch
name=coreutils
-version=8.12
+version=8.15
release=1
-source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz \
- http://www.linuxfromscratch.org/patches/lfs/development/coreutils-$version-i18n-1.patch\
+source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz
+ http://www.linuxfromscratch.org/patches/lfs/development/coreutils-$version-i18n-1.patch
http://www.linuxfromscratch.org/patches/lfs/development/coreutils-$version-uname-1.patch)
+
build() {
cd $name-$version
-case `uname -m` in
- i?86 | x86_64) patch -Np1 -i ../coreutils-$version-uname-1.patch ;;
-esac
-patch -Np1 -i ../$name-$version-i18n-1.patch
+ case `uname -m` in
+ i?86 | x86_64) patch -Np1 -i ../$name-$version-uname-1.patch ;;
+ esac
+ patch -Np1 -i ../$name-$version-i18n-1.patch
-./configure --prefix=/usr --enable-no-install-program=kill,uptime,hostname
-make
-make DESTDIR=$PKG install
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --enable-no-install-program=kill,uptime,hostname
+ make
+ make DESTDIR=$PKG install
-mkdir $PKG/{bin,usr/sbin}
-mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $PKG/bin
-mv $PKG/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} $PKG/bin
-mv $PKG/usr/bin/{rmdir,stty,sync,true,uname} $PKG/bin
-mv -v $PKG/usr/bin/chroot $PKG/usr/sbin
-mkdir -p $PKG/usr/share/man/man8/
-mv -v $PKG/usr/share/man/man1/chroot.1 $PKG/usr/share/man/man8/chroot.8
-sed -i s/\"1\"/\"8\"/1 $PKG/usr/share/man/man8/chroot.8
-mv -v $PKG/usr/bin/{head,sleep,nice} $PKG/bin
-if [ -f $PKG/usr/share/info/dir ]; then
- rm $PKG/usr/share/info/dir
-fi
+ mkdir $PKG/{bin,usr/sbin}
+ mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $PKG/bin
+ mv $PKG/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} $PKG/bin
+ mv $PKG/usr/bin/{rmdir,stty,sync,true,uname} $PKG/bin
+ mv -v $PKG/usr/bin/chroot $PKG/usr/sbin
+ mkdir -p $PKG/usr/share/man/man8/
+ mv -v $PKG/usr/share/man/man1/chroot.1 $PKG/usr/share/man/man8/chroot.8
+ sed -i s/\"1\"/\"8\"/1 $PKG/usr/share/man/man8/chroot.8
+ mv -v $PKG/usr/bin/{head,sleep,nice} $PKG/bin
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
}