wok-next view util-linux-uuid/receipt @ rev 12727
Up: get-java6-jre (1.1.0)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat May 05 10:28:22 2012 +0000 (2012-05-05) |
parents | 73641efed1cc |
children | 64e7fff3f73c |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-uuid"
4 VERSION="2.21.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"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
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 $install/usr/sbin/uuidd $fs/usr/sbin
17 cp -a $install/usr/bin/uuidgen $fs/usr/bin
18 cp -a $install/lib/libuuid.so* $fs/lib
19 cd $fs/usr/lib
20 ln -s /lib/libuuid.so.1.3.0 libuuid.so
21 }
23 # Remove old package
24 post_install()
25 {
26 if [ -d "/var/lib/tazpkg/installed/util-linux-ng-uuid" ]; then
27 echo "Removing old: util-linux-ng-uuid"
28 yes "y" | tazpkg -r util-linux-ng-uuid
29 fi
30 }