wok diff util-linux-blockdev/receipt @ rev 13122

amsn: Update deps and add patch to fix build.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 21:41:20 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-blockdev/receipt	Wed Jul 04 21:41:20 2012 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="util-linux-blockdev"
     1.7 +VERSION="2.21.1"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="The blockdev utility from Util linux NG."
    1.10 +MAINTAINER="devel@slitaz.org"
    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/sbin
    1.19 +	cp -a $_pkg/sbin/blockdev $fs/sbin
    1.20 +}
    1.21 +
    1.22 +# Overlap busybox
    1.23 +pre_install()
    1.24 +{
    1.25 +	rm -f $1/sbin/blockdev
    1.26 +}
    1.27 +
    1.28 +post_remove()
    1.29 +{
    1.30 +	ln -s /bin/busybox /sbin/blockdev
    1.31 +}