wok-current annotate util-linux-ng-uuid/receipt @ rev 11776
merge
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Feb 23 13:29:56 2012 -0800 (2012-02-23) |
parents | edf212a8db46 |
children |
rev | line source |
---|---|
pankso@4050 | 1 # SliTaz package receipt. |
pankso@4050 | 2 |
pankso@4050 | 3 PACKAGE="util-linux-ng-uuid" |
slaxemulator@10150 | 4 VERSION="2.19.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 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 } |