wok-6.x view util-linux-flock/receipt @ rev 12480

Up: util-linux (2.21.1) no longer util-linux-ng
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 16:19:05 2012 +0200 (2012-04-23)
parents
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-flock"
4 VERSION="2.21.1"
5 CATEGORY="base-system"
6 SHORT_DESC="The flock utility from Util linux NG."
7 MAINTAINER="liupeng <hipeng@yahoo.com>"
8 DEPENDS="glibc-base"
9 WANTED="util-linux"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/bin
16 cp -a $_pkg/usr/bin/flock $fs/usr/bin
17 }
19 # Overlap busybox
20 pre_install()
21 {
22 rm -f $1/usr/bin/blkid
23 }
25 post_remove()
26 {
27 ln -s /bin/busybox /usr/bin/blkid
28 }