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

udev-light: fix path to pci.ids
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:07:41 2011 +0200 (2011-05-23)
parents edf212a8db46
children
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-uuid"
4 VERSION="2.19.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 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 }