wok-current view util-linux-uuid/receipt @ rev 12481

Rename linux-util-ng to util-linux in all packages
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 16:30:27 2012 +0200 (2012-04-23)
parents d35ad056f90e
children 11e287409bc0
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 }
21 # Remove old package
22 post_install()
23 {
24 if [ -d "/var/lib/tazpkg/installed/util-linux-ng-uuid" ]; then
25 echo "Removing old: util-linux-ng-uuid"
26 yes | tazpkg -r util-linux-ng-uuid
27 fi
28 }