wok-current view util-linux-blockdev/receipt @ rev 17352
Up: openssl (1.0.1j)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Nov 15 23:41:30 2014 +0000 (2014-11-15) |
parents | f4c22f009037 |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-blockdev"
4 VERSION="2.24"
5 CATEGORY="base-system"
6 SHORT_DESC="The blockdev utility from Util linux NG."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="util-linux"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
12 DEPENDS="glibc-base"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/sbin
18 cp -a $install/sbin/blockdev $fs/sbin
19 }
21 # Overlap busybox
22 pre_install()
23 {
24 rm -f $1/sbin/blockdev
25 }
27 post_remove()
28 {
29 ln -s /bin/busybox /sbin/blockdev
30 }