wok-6.x annotate util-linux-ng-flock/receipt @ rev 11215
Add from wok-undigest: tslib tslib-dev util-linux-ng-flock swfdec swfdec-dev perl-net-pcap net-tools mspdebug
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 17:36:16 2011 +0100 (2011-11-03) |
parents | |
children | ebf45342566b |
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." |
pascal@11215 | 7 MAINTAINER="liupeng <hipeng@about.me>" |
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 } |