wok view util-linux/receipt @ rev 21194

systemd: corrected build dependencies
author Hans-G?nter Theisgen
date Fri Apr 05 17:53:25 2019 +0100 (2019-04-05)
parents 11b5e93cb5f2
children 268e759bcf02
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.28"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v$VERSION/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS=""
15 BUILD_DEPENDS="udev-dev ncursesw-dev libcap-ng-dev readline-dev python-dev"
16 SPLIT="util-linux-blkid util-linux-blkid-dev util-linux-blockdev \
17 util-linux-cfdisk util-linux-column util-linux-cramfs util-linux-eject \
18 util-linux-fdisk util-linux-fdisk-dev util-linux-flock util-linux-getopt \
19 util-linux-losetup \
20 util-linux-minix util-linux-mkfs util-linux-mount util-linux-mount-dev \
21 util-linux-partx util-linux-setterm util-linux-sfdisk util-linux-smartcols \
22 util-linux-smartcols-dev util-linux-uuid util-linux-uuid-dev util-linux-whereis"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # Fix undeclared 'LINE_MAX'
28 case "$ARCH" in
29 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
30 esac
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }