wok-6.x annotate util-linux-ng-uuid/receipt @ rev 6260

Fix atk/gtk+ build loop i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 14 11:56:40 2010 +0000 (2010-09-14)
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 }