wok-4.x view util-linux-ng-blockdev/receipt @ rev 12458
x11vnc: update X11VNC_OPTIONS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 28 14:33:41 2016 +0100 (2016-12-28) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-blockdev"
4 VERSION="2.19.1"
5 CATEGORY="base-system"
6 SHORT_DESC="The blockdev utility from Util linux NG."
7 MAINTAINER="devel@slitaz.org"
8 DEPENDS="glibc-base"
9 WANTED="util-linux-ng"
10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/sbin
16 cp -a $_pkg/sbin/blockdev $fs/sbin
17 }
19 # Overlap busybox
20 pre_install()
21 {
22 rm -f $1/sbin/blockdev
23 }
25 post_remove()
26 {
27 ln -s /bin/busybox /sbin/blockdev
28 }