wok-current annotate util-linux-uuid/receipt @ rev 13287

memtest: lzma compression
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 26 00:21:22 2012 +0200 (2012-08-26)
parents 11e287409bc0
children a579549edab7
rev   line source
pankso@12480 1 # SliTaz package receipt.
pankso@12480 2
pankso@12480 3 PACKAGE="util-linux-uuid"
pankso@12480 4 VERSION="2.21.1"
pankso@12480 5 CATEGORY="base-system"
pankso@12480 6 SHORT_DESC="The uuid utility and library from Util linux NG."
pankso@12480 7 MAINTAINER="pankso@slitaz.org"
pankso@12480 8 WANTED="util-linux"
pankso@12480 9 WEB_SITE="http://kernel.org/~kzak/util-linux/"
pankso@12927 10 HOST_ARCH="i486 arm"
pankso@12927 11
pankso@12927 12 DEPENDS="ncursesw"
pankso@12480 13
pankso@12480 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12480 15 genpkg_rules()
pankso@12480 16 {
pankso@12480 17 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
pankso@12481 18 cp -a $install/usr/sbin/uuidd $fs/usr/sbin
pankso@12481 19 cp -a $install/usr/bin/uuidgen $fs/usr/bin
pankso@12481 20 cp -a $install/lib/libuuid.so* $fs/lib
pankso@12487 21 cd $fs/usr/lib
pankso@12487 22 ln -s /lib/libuuid.so.1.3.0 libuuid.so
pankso@12480 23 }
pankso@12480 24
pankso@12481 25 # Remove old package
pankso@12480 26 post_install()
pankso@12480 27 {
pankso@12927 28 if [ -d "$INSTALLED/util-linux-ng-uuid" ]; then
pankso@12481 29 echo "Removing old: util-linux-ng-uuid"
pankso@12927 30 rm -rf $INSTALLED/util-linux-ng-uuid
pankso@12481 31 fi
pankso@12480 32 }