wok view util-linux-ng-uuid/receipt @ rev 8784
Fix-dep: tazwok depends on libtaz
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 22:30:34 2011 +0100 (2011-02-22) |
parents | cb53e0d30346 |
children | edf212a8db46 |
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 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 }