wok view util-linux-uuid/receipt @ rev 12945

ecore: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 20:30:57 2012 +0200 (2012-05-30)
parents 11e287409bc0
children a579549edab7
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 WANTED="util-linux"
9 WEB_SITE="http://kernel.org/~kzak/util-linux/"
10 HOST_ARCH="i486 arm"
12 DEPENDS="ncursesw"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
18 cp -a $install/usr/sbin/uuidd $fs/usr/sbin
19 cp -a $install/usr/bin/uuidgen $fs/usr/bin
20 cp -a $install/lib/libuuid.so* $fs/lib
21 cd $fs/usr/lib
22 ln -s /lib/libuuid.so.1.3.0 libuuid.so
23 }
25 # Remove old package
26 post_install()
27 {
28 if [ -d "$INSTALLED/util-linux-ng-uuid" ]; then
29 echo "Removing old: util-linux-ng-uuid"
30 rm -rf $INSTALLED/util-linux-ng-uuid
31 fi
32 }