wok-current annotate util-linux/receipt @ rev 22214

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