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

Create grub entry based on current root partition. Fix bug78
author border
date Sat Jan 05 12:34:10 2013 -0500 (2013-01-05)
parents 64e7fff3f73c
children 380ffe05937a
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://freecode.com/projects/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 }