wok-stable view util-linux-ng-uuid/receipt @ rev 9923
webalizer: fix deps/bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 17 23:14:08 2011 +0200 (2011-05-17) |
parents | 78988bd0500a |
children | 163676c61a63 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-uuid"
4 VERSION="2.19"
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 WANTED="util-linux-ng"
10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
16 cp -a $_pkg/usr/sbin/uuidd $fs/usr/sbin
17 cp -a $_pkg/usr/bin/uuidgen $fs/usr/bin
18 cp -a $_pkg/lib/libuuid.so* $fs/lib
19 cd $fs/usr/lib
20 ln -s /lib/libuuid.so.1.3.0 libuuid.so
21 #cp -a $_pkg/usr/lib/libuuid.so* $fs/usr/lib
22 }
24 post_install()
25 {
26 # Remove old libuuid from e2fsprogs package
27 rm $1/lib/libuuid.so.1.2 2>/dev/null
28 rm -rf $1/var/lib/tazpkg/installed/libuuid 2>/dev/null
29 }