wok-next diff util-linux-ng-blockdev/receipt @ rev 12289
linux: small fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 20:44:53 2012 +0200 (2012-04-15) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/util-linux-ng-blockdev/receipt Sun Apr 15 20:44:53 2012 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="util-linux-ng-blockdev" 1.7 +VERSION="2.19.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-ng" 1.13 +WEB_SITE="http://kernel.org/~kzak/util-linux-ng/" 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 +}