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

w3m: add patches
author Richard Dunbar <mojo@slitaz.org>
date Fri Mar 15 13:21:47 2013 +0000 (2013-03-15)
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 }