wok-next view util-linux/receipt @ rev 21329
updated librsvg (2.44.10 -> 2.46.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 12 15:48:44 2019 +0100 (2019-12-12) |
parents | a43eb412173d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="util-linux"
4 VERSION="2.33.1"
5 CATEGORY="meta"
6 SHORT_DESC="Random collection of Linux utilities"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2.1 BSD PublicDomain"
9 WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/util-linux.html"
12 HIVERSION=$(echo $VERSION | cut -d. -f1,2) # may be 2 or 3 numbers: 2.33, 2.33.1
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v$HIVERSION/$TARBALL"
15 TARBALL_SHA1="f57232d9594d23e7c20b5728b24bf4e5d977accc"
17 BUILD_DEPENDS="libcap-dev readline-dev python-dev glib gtk-doc libxslt \
18 gettext-dev ncurses-dev zlib-dev"
19 SPLIT="\
20 $PACKAGE-blkid $PACKAGE-blkid-dev $PACKAGE-blockdev $PACKAGE-cfdisk \
21 $PACKAGE-column $PACKAGE-cramfs $PACKAGE-eject $PACKAGE-fdisk \
22 $PACKAGE-fdisk-dev $PACKAGE-flock $PACKAGE-getopt $PACKAGE-minix \
23 $PACKAGE-mkfs $PACKAGE-mount $PACKAGE-mount-dev $PACKAGE-partx \
24 $PACKAGE-setterm $PACKAGE-sfdisk $PACKAGE-smartcols $PACKAGE-smartcols-dev \
25 $PACKAGE-uuid $PACKAGE-uuid-dev $PACKAGE-whereis $PACKAGE-misc"
27 COPY_blkid="bin/lsblk sbin/blkid libblkid.so.1*"
28 COPY_blkid_dev="blkid.h blkid.pc libblkid.so"
29 COPY_blockdev="sbin/blockdev"
30 COPY_cfdisk="sbin/cfdisk cfdisk.desktop"
31 COPY_column="bin/column bin/col bin/colrm bin/colcrt"
32 COPY_cramfs="sbin/*.cramfs"
33 COPY_eject="bin/eject"
34 COPY_fdisk="sbin/fdisk libfdisk.so.1*"
35 COPY_fdisk_dev="libfdisk.h fdisk.pc libfdisk.so"
36 COPY_flock="bin/flock bin/lslocks"
37 COPY_getopt="bin/getopt"
38 COPY_minix="sbin/*.minix"
39 COPY_mkfs="sbin/mkfs sbin/mkswap"
40 COPY_mount="bin/findmnt bin/mount libmount.so.1* bin/mountpoint bin/umount"
41 COPY_mount_dev="libmount.h mount.pc libmount.so"
42 COPY_partx="sbin/addpart sbin/delpart sbin/partx sbin/resizepart"
43 COPY_setterm="bin/setterm"
44 COPY_sfdisk="sbin/sfdisk"
45 COPY_smartcols="libsmartcols.so.1*"
46 COPY_smartcols_dev="libsmartcols.h smartcols.pc libsmartcols.so"
47 COPY_uuid="libuuid.so.1* bin/uuidgen sbin/uuidd"
48 COPY_uuid_dev="uuid.h uuid.pc libuuid.so"
49 COPY_whereis="bin/whereis"
50 COPY_misc="@std @dev @rm"
52 CAT_blkid="base-system|blkid utility"
53 CAT_blkid_dev="development|blkid development files"
54 CAT_blockdev="base-system|blockdev utility"
55 CAT_cfdisk="system-tools|cfdisk utility"
56 CAT_column="base-system|column utility"
57 CAT_cramfs="system-tools|cramfs utilities"
58 CAT_eject="base-system|eject utility"
59 CAT_fdisk="system-tools|fdisk utility"
60 CAT_fdisk_dev="development|fdisk utility development files"
61 CAT_flock="base-system|flock utility"
62 CAT_getopt="base-system|getopt utility"
63 CAT_minix="system-tools|minix utilities"
64 CAT_mkfs="base-system|mkfs utilities"
65 CAT_mount="base-system|mount utilities"
66 CAT_mount_dev="development|mount utilities development files"
67 CAT_partx="system-tools|partx utilities"
68 CAT_setterm="base-system|setterm utility"
69 CAT_sfdisk="system-tools|sfdisk utility"
70 CAT_smartcols="system-tools|smartcols library"
71 CAT_smartcols_dev="development|smartcols library development files"
72 CAT_uuid="base-system|uuid utility and library"
73 CAT_uuid_dev="development|uuid utility and library development files"
74 CAT_whereis="base-system|whereis utility"
75 CAT_misc="system-tools|misc utilities"
77 DEPENDS_blkid="util-linux-mount util-linux-smartcols util-linux-uuid"
78 DEPENDS_blkid_dev="util-linux-blkid util-linux-uuid-dev"
79 DEPENDS_blockdev=" "
80 DEPENDS_cfdisk="ncurses util-linux-fdisk util-linux-mount util-linux-smartcols"
81 DEPENDS_column="util-linux-smartcols"
82 DEPENDS_cramfs="zlib"
83 DEPENDS_eject="util-linux-mount"
84 DEPENDS_fdisk="ncurses readline util-linux-blkid util-linux-smartcols util-linux-uuid"
85 DEPENDS_fdisk_dev="util-linux-fdisk util-linux-blkid-dev util-linux-uuid-dev"
86 DEPENDS_flock="util-linux-mount util-linux-smartcols"
87 DEPENDS_getopt=" "
88 DEPENDS_minix=" "
89 DEPENDS_mkfs="util-linux-blkid util-linux-uuid"
90 DEPENDS_mount="util-linux-blkid util-linux-smartcols"
91 DEPENDS_mount_dev="util-linux-mount util-linux-blkid-dev"
92 DEPENDS_partx="util-linux-blkid util-linux-smartcols"
93 DEPENDS_setterm="ncurses"
94 DEPENDS_sfdisk="ncurses readline util-linux-fdisk util-linux-smartcols"
95 DEPENDS_smartcols=" "
96 DEPENDS_smartcols_dev="util-linux-smartcols"
97 DEPENDS_uuid=" "
98 DEPENDS_uuid_dev="util-linux-uuid"
99 DEPENDS_whereis=" "
100 DEPENDS_misc="ncurses python util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid"
102 TAGS_std="LFS"
104 COOKOPTS="!menus"
106 compile_rules() {
107 mkdir -p $install/var/lib/hwclock
108 ./configure \
109 ADJTIME_PATH=/var/lib/hwclock/adjtime \
110 --disable-static \
111 --without-systemd \
112 --without-systemdsystemunitdir &&
113 fix libtool &&
114 make &&
115 make install || return 1
117 install -Dm644 $stuff/cfdisk.desktop \
118 $install/usr/share/applications/cfdisk.desktop
119 }