wok-next annotate util-linux-ng-blockdev/receipt @ rev 11105

Up: fetchmail to 6.3.21.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 03:03:43 2011 +0000 (2011-10-17)
parents
children
rev   line source
hipeng@10961 1 # SliTaz package receipt.
hipeng@10961 2
hipeng@10961 3 PACKAGE="util-linux-ng-blockdev"
hipeng@10961 4 VERSION="2.19.1"
hipeng@10961 5 CATEGORY="base-system"
hipeng@10961 6 SHORT_DESC="The blockdev utility from Util linux NG."
hipeng@10961 7 MAINTAINER="devel@slitaz.org"
hipeng@10961 8 DEPENDS="glibc-base"
hipeng@10961 9 WANTED="util-linux-ng"
hipeng@10961 10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
hipeng@10961 11
hipeng@10961 12 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@10961 13 genpkg_rules()
hipeng@10961 14 {
hipeng@10961 15 mkdir -p $fs/sbin
hipeng@10961 16 cp -a $_pkg/sbin/blockdev $fs/sbin
hipeng@10961 17 }
hipeng@10961 18
hipeng@10961 19 # Overlap busybox
hipeng@10961 20 pre_install()
hipeng@10961 21 {
hipeng@10961 22 rm -f $1/sbin/blockdev
hipeng@10961 23 }
hipeng@10961 24
hipeng@10961 25 post_remove()
hipeng@10961 26 {
hipeng@10961 27 ln -s /bin/busybox /sbin/blockdev
hipeng@10961 28 }