wok view util-linux-blkid/receipt @ rev 19241

GNU/nano is a just nano now.
What about SliTaz GNU/Linux? :)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 28 11:56:06 2016 +0300 (2016-06-28)
parents 124c3a7da04f
children 4f122372e6f6
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-blkid"
4 VERSION="2.24"
5 CATEGORY="base-system"
6 SHORT_DESC="The blkid utility and library from Util linux NG."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="util-linux"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="glibc-base util-linux-uuid util-linux-mount"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/lib $fs/sbin $fs/bin $fs/usr/lib
19 cp -a $install/sbin/blkid $fs/sbin
20 cp -a $install/bin/lsblk $fs/bin
21 cp -a $install/lib/libblkid.so* $fs/lib
22 cp -a $install/usr/lib/libblkid.so* $fs/usr/lib
23 }
25 # Remove old package
26 post_install()
27 {
28 [ ! -d "$INSTALLED/util-linux-ng-blkid" ] ||
29 rm -rf $INSTALLED/util-linux-ng-blkid
30 }
32 post_remove()
33 {
34 ln -s ../bin/busybox "$1/sbin/blkid"
35 }