summaryrefslogtreecommitdiffstats
path: root/util-linux/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-02-04 16:54:06 +0100
committerpiernov <piernov@piernov.org>2012-02-04 16:54:06 +0100
commit2a988e9b27c3f6ba18636214c2cc2741ff315ef0 (patch)
tree9acc026bbc1a6de50cb2925d38a8411bc3300681 /util-linux/Pkgfile
parent4c3e3d89395b768025745869fe142e78812709c3 (diff)
downloadnutyx-pakxe-2a988e9b27c3f6ba18636214c2cc2741ff315ef0.tar.gz
nutyx-pakxe-2a988e9b27c3f6ba18636214c2cc2741ff315ef0.tar.bz2
nutyx-pakxe-2a988e9b27c3f6ba18636214c2cc2741ff315ef0.tar.xz
nutyx-pakxe-2a988e9b27c3f6ba18636214c2cc2741ff315ef0.zip
util-linux 2.20.1-1 màj port
Diffstat (limited to 'util-linux/Pkgfile')
-rwxr-xr-xutil-linux/Pkgfile34
1 files changed, 19 insertions, 15 deletions
diff --git a/util-linux/Pkgfile b/util-linux/Pkgfile
index 32fa3f7cf..c38afc10a 100755
--- a/util-linux/Pkgfile
+++ b/util-linux/Pkgfile
@@ -4,25 +4,29 @@
# Packager: thierryn1 at hispeed dot ch
name=util-linux
-version=2.19.1
+version=2.20.1
release=1
-source=(http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.19/$name-$version.tar.bz2)
+source=(http://www.kernel.org/pub/linux/utils/util-linux/v${version%.*}/util-linux-$version.tar.xz)
build() {
-cd $name-$version
-sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
- -i $(grep -rl '/etc/adjtime' .)
+ cd $name-$version
+ sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
+ -i $(grep -rl '/etc/adjtime' .)
-mkdir -pv $PKG/var/lib/hwclock
+ mkdir -pv $PKG/var/lib/hwclock
-./configure --enable-arch --enable-partx --enable-write
+ ./configure --enable-arch \
+ --enable-partx \
+ --enable-write \
+ --enable-ddate \
+ --enable-line
-make
-make DESTDIR=$PKG install
-rm $PKG/usr/bin/wall
-rm $PKG/usr/share/man/man1/wall.1
-mkdir -p $PKG/etc
-if [ -f $PKG/usr/share/info/dir ]; then
- rm $PKG/usr/share/info/dir
-fi
+ make
+ make DESTDIR=$PKG install
+ rm $PKG/usr/bin/wall
+ rm $PKG/usr/share/man/man1/wall.1
+ mkdir -p $PKG/etc
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
}