wok-current view util-linux-uuid/receipt @ rev 18934
Up slitaz-configs (273)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 27 07:57:39 2016 +0100 (2016-02-27) |
parents | 1067bb7f1e24 |
children | 4f122372e6f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-uuid"
4 VERSION="2.24"
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 # Be compatible with /cross/*/sysroot
24 ln -s ../../lib/libuuid.so.1.3.0 libuuid.so
25 }
27 # Remove old package
28 post_install()
29 {
30 if [ -d "$1$INSTALLED/util-linux-ng-uuid" ]; then
31 echo "Removing old: util-linux-ng-uuid"
32 rm -rf "$1$INSTALLED/util-linux-ng-uuid"
33 fi
34 true
35 }