wok-4.x diff util-linux-ng-uuid/receipt @ rev 6298
Up: graphviz, graphviz-dev, graphviz-doc to 2.26.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 14:55:46 2010 +0000 (2010-09-16) |
parents | |
children | cb53e0d30346 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/util-linux-ng-uuid/receipt Thu Sep 16 14:55:46 2010 +0000 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="util-linux-ng-uuid" 1.7 +VERSION="2.16.1" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="The uuid utility and library from Util linux NG." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="glibc-base" 1.12 +BUILD_DEPENDS="slitaz-toolchain" 1.13 +WANTED="util-linux-ng" 1.14 +WEB_SITE="http://kernel.org/~kzak/util-linux-ng/" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin 1.20 + cp -a $_pkg/usr/sbin/uuidd $fs/usr/sbin 1.21 + cp -a $_pkg/usr/bin/uuidgen $fs/usr/bin 1.22 + cp -a $_pkg/lib/libuuid.so* $fs/lib 1.23 + cd $fs/usr/lib 1.24 + ln -s /lib/libuuid.so.1.3.0 libuuid.so 1.25 + #cp -a $_pkg/usr/lib/libuuid.so* $fs/usr/lib 1.26 +} 1.27 + 1.28 +post_install() 1.29 +{ 1.30 + # Remove old libuuid from e2fsprogs package 1.31 + rm $1/lib/libuuid.so.1.2 2>/dev/null 1.32 + rm -rf $1/var/lib/tazpkg/installed/libuuid 2>/dev/null 1.33 +}