wok-6.x annotate util-linux-flock/receipt @ rev 14952
Up: ethumb-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:16:04 2013 +0200 (2013-08-08) |
parents | |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@12480 | 1 # SliTaz package receipt. |
pankso@12480 | 2 |
pankso@12480 | 3 PACKAGE="util-linux-flock" |
pankso@12480 | 4 VERSION="2.21.1" |
pankso@12480 | 5 CATEGORY="base-system" |
pankso@12480 | 6 SHORT_DESC="The flock utility from Util linux NG." |
pankso@12480 | 7 MAINTAINER="liupeng <hipeng@yahoo.com>" |
pankso@12480 | 8 DEPENDS="glibc-base" |
pankso@12480 | 9 WANTED="util-linux" |
pankso@12480 | 10 WEB_SITE="http://kernel.org/~kzak/util-linux/" |
pankso@12480 | 11 |
pankso@12480 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12480 | 13 genpkg_rules() |
pankso@12480 | 14 { |
pankso@12480 | 15 mkdir -p $fs/usr/bin |
pankso@12480 | 16 cp -a $_pkg/usr/bin/flock $fs/usr/bin |
pankso@12480 | 17 } |
pankso@12480 | 18 |
pankso@12480 | 19 # Overlap busybox |
pankso@12480 | 20 pre_install() |
pankso@12480 | 21 { |
pankso@12480 | 22 rm -f $1/usr/bin/blkid |
pankso@12480 | 23 } |
pankso@12480 | 24 |
pankso@12480 | 25 post_remove() |
pankso@12480 | 26 { |
pankso@12480 | 27 ln -s /bin/busybox /usr/bin/blkid |
pankso@12480 | 28 } |