wok-6.x diff util-linux-flock/receipt @ rev 13126

liblrdf: Add patches to support raptor 2.0.x and clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 22:13:34 2012 +0000 (2012-07-04)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/util-linux-flock/receipt	Wed Jul 04 22:13:34 2012 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="util-linux-flock"
     1.7 +VERSION="2.21.1"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="The flock utility from Util linux NG."
    1.10 +MAINTAINER="liupeng <hipeng@yahoo.com>"
    1.11 +DEPENDS="glibc-base"
    1.12 +WANTED="util-linux"
    1.13 +WEB_SITE="http://kernel.org/~kzak/util-linux/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/bin
    1.19 +	cp -a $_pkg/usr/bin/flock $fs/usr/bin
    1.20 +}
    1.21 +
    1.22 +# Overlap busybox
    1.23 +pre_install()
    1.24 +{
    1.25 +	rm -f $1/usr/bin/blkid
    1.26 +}
    1.27 +
    1.28 +post_remove()
    1.29 +{
    1.30 +	ln -s /bin/busybox /usr/bin/blkid
    1.31 +}