wok-stable view util-linux-ng-flock/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents ebf45342566b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-flock"
4 VERSION="2.19.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-ng"
10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
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/flock
23 }
25 post_remove()
26 {
27 ln -s /bin/busybox /usr/bin/flock
28 }