wok-6.x annotate util-linux-ng-blkid/receipt @ rev 11774
libxcb-dev: Fix DEPENDS (http://bugs.slitaz.org/issue76)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 23 23:27:47 2012 +0100 (2012-02-23) |
parents | edf212a8db46 |
children |
rev | line source |
---|---|
pankso@3104 | 1 # SliTaz package receipt. |
pankso@3104 | 2 |
pankso@3104 | 3 PACKAGE="util-linux-ng-blkid" |
slaxemulator@10150 | 4 VERSION="2.19.1" |
pankso@3104 | 5 CATEGORY="base-system" |
pankso@3104 | 6 SHORT_DESC="The blkid utility and library from Util linux NG." |
pankso@3104 | 7 MAINTAINER="pankso@slitaz.org" |
erjo@4391 | 8 DEPENDS="glibc-base util-linux-ng-uuid" |
pankso@3104 | 9 WANTED="util-linux-ng" |
pankso@3104 | 10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/" |
pankso@3104 | 11 |
pankso@3104 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3104 | 13 genpkg_rules() |
pankso@3104 | 14 { |
pankso@4049 | 15 mkdir -p $fs/lib $fs/sbin $fs/usr/lib |
pankso@3104 | 16 cp -a $_pkg/sbin/blkid $fs/sbin |
pankso@3104 | 17 cp -a $_pkg/lib/libblkid.so* $fs/lib |
pankso@4049 | 18 cp -a $_pkg/usr/lib/libblkid.so* $fs/usr/lib |
pankso@3104 | 19 } |
pascal@8879 | 20 |
pascal@8879 | 21 # Overlap busybox |
pascal@8879 | 22 pre_install() |
pascal@8879 | 23 { |
pascal@8879 | 24 rm -f $1/sbin/blkid |
pascal@8879 | 25 } |
pascal@8879 | 26 |
pascal@8879 | 27 post_remove() |
pascal@8879 | 28 { |
pascal@8879 | 29 ln -s /bin/busybox /sbin/blkid |
pascal@8879 | 30 } |