wok-next view util-linux-ng-blkid/receipt @ rev 11975
merge
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 02 11:54:25 2012 -0800 (2012-03-02) |
parents | edf212a8db46 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-blkid"
4 VERSION="2.19.1"
5 CATEGORY="base-system"
6 SHORT_DESC="The blkid utility and library from Util linux NG."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base util-linux-ng-uuid"
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/lib $fs/sbin $fs/usr/lib
16 cp -a $_pkg/sbin/blkid $fs/sbin
17 cp -a $_pkg/lib/libblkid.so* $fs/lib
18 cp -a $_pkg/usr/lib/libblkid.so* $fs/usr/lib
19 }
21 # Overlap busybox
22 pre_install()
23 {
24 rm -f $1/sbin/blkid
25 }
27 post_remove()
28 {
29 ln -s /bin/busybox /sbin/blkid
30 }