wok annotate util-linux-blockdev/receipt @ rev 15231
gst-plugins-good: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 22 18:49:49 2013 +0200 (2013-09-22) |
parents | 380ffe05937a |
children | 9d9921e751e8 |
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" |
pascal@15201 | 8 LICENSE="GPL2" |
pankso@12480 | 9 WANTED="util-linux" |
pankso@12480 | 10 WEB_SITE="http://kernel.org/~kzak/util-linux/" |
pankso@12480 | 11 |
pascal@15000 | 12 DEPENDS="glibc-base" |
pascal@15000 | 13 |
pankso@12480 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12480 | 15 genpkg_rules() |
pankso@12480 | 16 { |
pankso@12480 | 17 mkdir -p $fs/sbin |
pascal@15000 | 18 cp -a $install/sbin/blockdev $fs/sbin |
pankso@12480 | 19 } |
pankso@12480 | 20 |
pankso@12480 | 21 # Overlap busybox |
pankso@12480 | 22 pre_install() |
pankso@12480 | 23 { |
pankso@12480 | 24 rm -f $1/sbin/blockdev |
pankso@12480 | 25 } |
pankso@12480 | 26 |
pankso@12480 | 27 post_remove() |
pankso@12480 | 28 { |
pankso@12480 | 29 ln -s /bin/busybox /sbin/blockdev |
pankso@12480 | 30 } |