wok-4.x annotate util-linux-ng-uuid/receipt @ rev 5278

xz/lzma: add --version support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 16 10:19:22 2010 +0200 (2010-04-16)
parents
children cb53e0d30346
rev   line source
pankso@4050 1 # SliTaz package receipt.
pankso@4050 2
pankso@4050 3 PACKAGE="util-linux-ng-uuid"
pankso@4050 4 VERSION="2.16.1"
pankso@4050 5 CATEGORY="base-system"
pankso@4050 6 SHORT_DESC="The uuid utility and library from Util linux NG."
pankso@4050 7 MAINTAINER="pankso@slitaz.org"
pankso@4050 8 DEPENDS="glibc-base"
pankso@4050 9 BUILD_DEPENDS="slitaz-toolchain"
pankso@4050 10 WANTED="util-linux-ng"
pankso@4050 11 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
pankso@4050 12
pankso@4050 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4050 14 genpkg_rules()
pankso@4050 15 {
pankso@4050 16 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
pankso@4050 17 cp -a $_pkg/usr/sbin/uuidd $fs/usr/sbin
pankso@4050 18 cp -a $_pkg/usr/bin/uuidgen $fs/usr/bin
pankso@4050 19 cp -a $_pkg/lib/libuuid.so* $fs/lib
pankso@4050 20 cd $fs/usr/lib
pankso@4050 21 ln -s /lib/libuuid.so.1.3.0 libuuid.so
pankso@4050 22 #cp -a $_pkg/usr/lib/libuuid.so* $fs/usr/lib
pankso@4050 23 }
pankso@4050 24
pankso@4050 25 post_install()
pankso@4050 26 {
pankso@4050 27 # Remove old libuuid from e2fsprogs package
pankso@4050 28 rm $1/lib/libuuid.so.1.2 2>/dev/null
pankso@4050 29 rm -rf $1/var/lib/tazpkg/installed/libuuid 2>/dev/null
pankso@4050 30 }