wok annotate util-linux-blockdev/receipt @ rev 13610

Up remmina (1.0.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 12 17:45:50 2012 +0100 (2012-11-12)
parents
children 380ffe05937a
rev   line source
pankso@12480 1 # SliTaz package receipt.
pankso@12480 2
pankso@12480 3 PACKAGE="util-linux-blockdev"
pankso@12480 4 VERSION="2.21.1"
pankso@12480 5 CATEGORY="base-system"
pankso@12480 6 SHORT_DESC="The blockdev utility from Util linux NG."
pankso@12480 7 MAINTAINER="devel@slitaz.org"
pankso@12480 8 DEPENDS="glibc-base"
pankso@12480 9 WANTED="util-linux"
pankso@12480 10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
pankso@12480 11
pankso@12480 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12480 13 genpkg_rules()
pankso@12480 14 {
pankso@12480 15 mkdir -p $fs/sbin
pankso@12480 16 cp -a $_pkg/sbin/blockdev $fs/sbin
pankso@12480 17 }
pankso@12480 18
pankso@12480 19 # Overlap busybox
pankso@12480 20 pre_install()
pankso@12480 21 {
pankso@12480 22 rm -f $1/sbin/blockdev
pankso@12480 23 }
pankso@12480 24
pankso@12480 25 post_remove()
pankso@12480 26 {
pankso@12480 27 ln -s /bin/busybox /sbin/blockdev
pankso@12480 28 }