wok-current view util-linux/receipt @ rev 22409

up: Tor 0.4.1.6 -> 0.4.1.7
author Erkan Yilmaz <erkan@slitaz.org>
date Tue Dec 10 16:26:24 2019 +0000 (2019-12-10)
parents a8e996b473e0
children accf1450f9ce
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.34"
5 CATEGORY="meta"
6 SHORT_DESC="Random collection of Linux utilities (meta package)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1 BSD PublicDomain"
9 WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="libcap-ng-dev ncursesw-dev readline-dev python-dev udev-dev"
15 SPLIT="util-linux-blkid util-linux-blkid-dev util-linux-blockdev \
16 util-linux-cfdisk util-linux-column util-linux-cramfs util-linux-eject \
17 util-linux-fdisk util-linux-fdisk-dev util-linux-flock util-linux-getopt \
18 util-linux-losetup \
19 util-linux-minix util-linux-mkfs util-linux-mount util-linux-mount-dev \
20 util-linux-partx util-linux-setterm util-linux-sfdisk util-linux-smartcols \
21 util-linux-smartcols-dev util-linux-uuid util-linux-uuid-dev util-linux-whereis"
23 HOST_ARCH="i486 arm"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Fix undeclared 'LINE_MAX'
29 case "$ARCH" in
30 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
31 esac
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }