wok-6.x view util-linux-ng-uuid/receipt @ rev 4675
Up: python-jinja2 (2.2.1)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Dec 29 18:41:26 2009 +0000 (2009-12-29) |
parents | |
children | cb53e0d30346 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-uuid"
4 VERSION="2.16.1"
5 CATEGORY="base-system"
6 SHORT_DESC="The uuid utility and library from Util linux NG."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="slitaz-toolchain"
10 WANTED="util-linux-ng"
11 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
17 cp -a $_pkg/usr/sbin/uuidd $fs/usr/sbin
18 cp -a $_pkg/usr/bin/uuidgen $fs/usr/bin
19 cp -a $_pkg/lib/libuuid.so* $fs/lib
20 cd $fs/usr/lib
21 ln -s /lib/libuuid.so.1.3.0 libuuid.so
22 #cp -a $_pkg/usr/lib/libuuid.so* $fs/usr/lib
23 }
25 post_install()
26 {
27 # Remove old libuuid from e2fsprogs package
28 rm $1/lib/libuuid.so.1.2 2>/dev/null
29 rm -rf $1/var/lib/tazpkg/installed/libuuid 2>/dev/null
30 }