wok annotate util-linux-ng-flock/receipt @ rev 11669
inkscape: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 16:19:43 2012 +0100 (2012-02-17) |
parents | 6b4a47136bff |
children |
rev | line source |
---|---|
pascal@11215 | 1 # SliTaz package receipt. |
pascal@11215 | 2 |
pascal@11215 | 3 PACKAGE="util-linux-ng-flock" |
pascal@11215 | 4 VERSION="2.19.1" |
pascal@11215 | 5 CATEGORY="base-system" |
pascal@11215 | 6 SHORT_DESC="The flock utility from Util linux NG." |
hipeng@11313 | 7 MAINTAINER="liupeng <hipeng@yahoo.com>" |
pascal@11215 | 8 DEPENDS="glibc-base" |
pascal@11215 | 9 WANTED="util-linux-ng" |
pascal@11215 | 10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/" |
pascal@11215 | 11 |
pascal@11215 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 13 genpkg_rules() |
pascal@11215 | 14 { |
pascal@11215 | 15 mkdir -p $fs/usr/bin |
pascal@11215 | 16 cp -a $_pkg/usr/bin/flock $fs/usr/bin |
pascal@11215 | 17 } |
pascal@11215 | 18 |
pascal@11215 | 19 # Overlap busybox |
pascal@11215 | 20 pre_install() |
pascal@11215 | 21 { |
pascal@11215 | 22 rm -f $1/usr/bin/blkid |
pascal@11215 | 23 } |
pascal@11215 | 24 |
pascal@11215 | 25 post_remove() |
pascal@11215 | 26 { |
pascal@11215 | 27 ln -s /bin/busybox /usr/bin/blkid |
pascal@11215 | 28 } |