wok-6.x view util-linux-ng-uuid/receipt @ rev 8464
Add: libofx*'
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Feb 07 16:40:34 2011 +0100 (2011-02-07) |
parents | 56d43110b44d |
children | 78988bd0500a |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-uuid"
4 VERSION="2.18"
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 }