wok-6.x view util-linux-flock/receipt @ rev 15713
Up util-linux (2.24)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Dec 24 21:11:57 2013 +0000 (2013-12-24) |
parents | 3ef10cee1665 |
children | 8d64ce80ab95 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-flock"
4 VERSION="2.24"
5 CATEGORY="base-system"
6 SHORT_DESC="The flock utility from Util linux NG."
7 MAINTAINER="liupeng <hipeng@yahoo.com>"
8 LICENSE="GPL2"
9 WANTED="util-linux"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
12 DEPENDS="glibc-base"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin
18 cp -a $install/usr/bin/flock $fs/usr/bin
19 }
21 # Overlap busybox
22 pre_install()
23 {
24 rm -f $1/usr/bin/flock
25 }
27 post_remove()
28 {
29 ln -s /bin/busybox /usr/bin/flock
30 }