wok-6.x rev 4050

Add: util-linux-ng-uuid (provide *uuid* utility and libs)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Sep 09 21:36:26 2009 +0200 (2009-09-09)
parents c1004e0f2921
children b1a96eacf360
files util-linux-ng-uuid-dev/receipt util-linux-ng-uuid/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/util-linux-ng-uuid-dev/receipt	Wed Sep 09 21:36:26 2009 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="util-linux-ng-uuid-dev"
     1.7 +VERSION="2.16.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The uuid devel files from Util linux NG."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="util-linux-ng"
    1.12 +WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include
    1.18 +	cp -a $_pkg/usr/lib/libuuid.*a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/lib/pkgconfig/uuid.pc $fs/usr/lib/pkgconfig
    1.20 +	cp -a $_pkg/usr/include/uuid $fs/usr/include
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/util-linux-ng-uuid/receipt	Wed Sep 09 21:36:26 2009 +0200
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="util-linux-ng-uuid"
     2.7 +VERSION="2.16.1"
     2.8 +CATEGORY="base-system"
     2.9 +SHORT_DESC="The uuid utility and library from Util linux NG."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="glibc-base"
    2.12 +BUILD_DEPENDS="slitaz-toolchain"
    2.13 +WANTED="util-linux-ng"
    2.14 +WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
    2.20 +	cp -a $_pkg/usr/sbin/uuidd $fs/usr/sbin
    2.21 +	cp -a $_pkg/usr/bin/uuidgen $fs/usr/bin
    2.22 +	cp -a $_pkg/lib/libuuid.so* $fs/lib
    2.23 +	cd $fs/usr/lib
    2.24 +	ln -s /lib/libuuid.so.1.3.0 libuuid.so
    2.25 +	#cp -a $_pkg/usr/lib/libuuid.so* $fs/usr/lib
    2.26 +}
    2.27 +
    2.28 +post_install()
    2.29 +{
    2.30 +	# Remove old libuuid from e2fsprogs package
    2.31 +	rm $1/lib/libuuid.so.1.2 2>/dev/null
    2.32 +	rm -rf $1/var/lib/tazpkg/installed/libuuid 2>/dev/null
    2.33 +}