wok annotate util-linux-flock/receipt @ rev 12759
epdfview: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:15:54 2012 +0200 (2012-05-12) |
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 } |