wok-6.x view util-linux-ng-uuid/receipt @ rev 5879
pam_ldap: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 21 09:10:49 2010 +0200 (2010-07-21) |
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 }