core/util-linux-ng/Pkgfile
Juergen Daubert bc889fbffd util-linux-ng: update to 2.16-rc1, new: libuuid and helper programs
As off e2fsprogs 1.41.7 and util-linux-ng 2.16-rc1 we are using the
uuid library from util-libux-ng instead of e2fsprogs.

To get a proper build of both

- remove e2fsprogs
- build and install util-linux-ng
- build and install e2fsprogs
2009-06-30 13:05:05 +02:00

32 lines
915 B
Plaintext

# Description: Miscellaneous system utilities
# URL: http://userweb.kernel.org/~kzak/util-linux-ng/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: e2fsprogs, ncurses, zlib
name=util-linux-ng
version=2.16-rc1
release=1
source=(http://ftp.kernel.org/pub/linux/utils/$name/v2.16/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-{nls,wall} \
--enable-{write,rdev,raw,kill}
make
make DESTDIR=$PKG install
mv $PKG/lib/lib*.{a,la} $PKG/usr/lib
ln -s /lib/libblkid.so $PKG/usr/lib/libblkid.so
ln -s /lib/libuuid.so $PKG/usr/lib/libuuid.so
install -d $PKG/{etc,var/lib/libuuid}
touch $PKG/etc/adjtime
rm -r $PKG/usr/share
rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
}