wok-6.x view util-linux-ng-uuid/receipt @ rev 4283

neon: use gnutls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 10:58:56 2009 +0200 (2009-09-26)
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 }