wok annotate util-linux-uuid/receipt @ rev 16311
pango: fix post_install *again*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 09 08:33:25 2014 +0000 (2014-04-09) |
parents | 9d9921e751e8 |
children | dfef8de3d270 |
rev | line source |
---|---|
pankso@12480 | 1 # SliTaz package receipt. |
pankso@12480 | 2 |
pankso@12480 | 3 PACKAGE="util-linux-uuid" |
mojo@15713 | 4 VERSION="2.24" |
pankso@12480 | 5 CATEGORY="base-system" |
pankso@12480 | 6 SHORT_DESC="The uuid utility and library from Util linux NG." |
pankso@12480 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL2" |
pankso@12480 | 9 WANTED="util-linux" |
samuel_trassare@13397 | 10 WEB_SITE="http://freecode.com/projects/util-linux/" |
pankso@12927 | 11 HOST_ARCH="i486 arm" |
pankso@12927 | 12 |
pankso@12927 | 13 DEPENDS="ncursesw" |
pankso@12480 | 14 |
pankso@12480 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12480 | 16 genpkg_rules() |
pankso@12480 | 17 { |
pankso@12480 | 18 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin |
pankso@12481 | 19 cp -a $install/usr/sbin/uuidd $fs/usr/sbin |
pankso@12481 | 20 cp -a $install/usr/bin/uuidgen $fs/usr/bin |
pankso@12481 | 21 cp -a $install/lib/libuuid.so* $fs/lib |
pankso@12487 | 22 cd $fs/usr/lib |
pankso@16063 | 23 # Be compatible with /cross/*/sysroot |
pankso@16063 | 24 ln -s ../../lib/libuuid.so.1.3.0 libuuid.so |
pankso@12480 | 25 } |
pankso@12480 | 26 |
pankso@12481 | 27 # Remove old package |
pankso@12480 | 28 post_install() |
pankso@12480 | 29 { |
pankso@12927 | 30 if [ -d "$INSTALLED/util-linux-ng-uuid" ]; then |
pankso@12481 | 31 echo "Removing old: util-linux-ng-uuid" |
pankso@12927 | 32 rm -rf $INSTALLED/util-linux-ng-uuid |
pankso@12481 | 33 fi |
pankso@12480 | 34 } |