wok-current annotate util-linux-ng-uuid/receipt @ rev 7992
Up: python-mygpoclent to 1.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 17 21:22:17 2011 +0000 (2011-01-17) |
parents | 56d43110b44d |
children | 78988bd0500a |
rev | line source |
---|---|
pankso@4050 | 1 # SliTaz package receipt. |
pankso@4050 | 2 |
pankso@4050 | 3 PACKAGE="util-linux-ng-uuid" |
slaxemulator@6520 | 4 VERSION="2.18" |
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 } |