wok-current view util-linux-ng-blkid/receipt @ rev 8920
splint needs -j1 to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 01 02:17:56 2011 +0100 (2011-03-01) |
parents | 78988bd0500a |
children | edf212a8db46 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-blkid"
4 VERSION="2.19"
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 BUILD_DEPENDS="slitaz-toolchain"
10 WANTED="util-linux-ng"
11 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/lib $fs/sbin $fs/usr/lib
17 cp -a $_pkg/sbin/blkid $fs/sbin
18 cp -a $_pkg/lib/libblkid.so* $fs/lib
19 cp -a $_pkg/usr/lib/libblkid.so* $fs/usr/lib
20 }
22 # Overlap busybox
23 pre_install()
24 {
25 rm -f $1/sbin/blkid
26 }
28 post_remove()
29 {
30 ln -s /bin/busybox /sbin/blkid
31 }