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

Up: lm-sensors to 3.3.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 29 01:31:00 2011 +0000 (2011-03-29)
parents 78988bd0500a
children 163676c61a63
rev   line source
pankso@4050 1 # SliTaz package receipt.
pankso@4050 2
pankso@4050 3 PACKAGE="util-linux-ng-uuid"
slaxemulator@8543 4 VERSION="2.19"
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 WANTED="util-linux-ng"
pankso@4050 10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
pankso@4050 11
pankso@4050 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4050 13 genpkg_rules()
pankso@4050 14 {
pankso@4050 15 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
pankso@4050 16 cp -a $_pkg/usr/sbin/uuidd $fs/usr/sbin
pankso@4050 17 cp -a $_pkg/usr/bin/uuidgen $fs/usr/bin
pankso@4050 18 cp -a $_pkg/lib/libuuid.so* $fs/lib
pankso@4050 19 cd $fs/usr/lib
pankso@4050 20 ln -s /lib/libuuid.so.1.3.0 libuuid.so
pankso@4050 21 #cp -a $_pkg/usr/lib/libuuid.so* $fs/usr/lib
pankso@4050 22 }
pankso@4050 23
pankso@4050 24 post_install()
pankso@4050 25 {
pankso@4050 26 # Remove old libuuid from e2fsprogs package
pankso@4050 27 rm $1/lib/libuuid.so.1.2 2>/dev/null
pankso@4050 28 rm -rf $1/var/lib/tazpkg/installed/libuuid 2>/dev/null
pankso@4050 29 }