wok view util-linux-uuid/receipt @ rev 15679
lxc: add depend for linux-lxc
Add linux-lxc
Add linux-lxc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 20:12:42 2013 +0100 (2013-12-20) |
parents | 380ffe05937a |
children | 9d9921e751e8 |
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 LICENSE="GPL2"
9 WANTED="util-linux"
10 WEB_SITE="http://freecode.com/projects/util-linux/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="ncursesw"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
19 cp -a $install/usr/sbin/uuidd $fs/usr/sbin
20 cp -a $install/usr/bin/uuidgen $fs/usr/bin
21 cp -a $install/lib/libuuid.so* $fs/lib
22 cd $fs/usr/lib
23 ln -s /lib/libuuid.so.1.3.0 libuuid.so
24 }
26 # Remove old package
27 post_install()
28 {
29 if [ -d "$INSTALLED/util-linux-ng-uuid" ]; then
30 echo "Removing old: util-linux-ng-uuid"
31 rm -rf $INSTALLED/util-linux-ng-uuid
32 fi
33 }