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

updated fribidi and fribidi-dev (1.0.8 -> 1.0.11)
author Hans-G?nter Theisgen
date Sun Feb 27 07:58:48 2022 +0100 (2022-02-27)
parents accf1450f9ce
children 03de36849d05
rev   line source
pankso@12480 1 # SliTaz package receipt.
pankso@12480 2
pankso@12480 3 PACKAGE="util-linux"
Hans-G?nter@23723 4 VERSION="2.35.1"
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"
Hans-G?nter@23723 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"
Hans-G?nter@23723 15 SPLIT="util-linux-bash-completion util-linux-blkid util-linux-blkid-dev
Hans-G?nter@23723 16 util-linux-blockdev util-linux-cfdisk util-linux-column util-linux-cramfs
Hans-G?nter@23723 17 util-linux-eject util-linux-fdisk util-linux-fdisk-dev util-linux-flock
Hans-G?nter@23723 18 util-linux-getopt util-linux-losetup util-linux-minix util-linux-mkfs
Hans-G?nter@23723 19 util-linux-mount util-linux-mount-dev util-linux-partx util-linux-setterm
Hans-G?nter@23723 20 util-linux-sfdisk util-linux-smartcols util-linux-smartcols-dev
Hans-G?nter@23723 21 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
pascal@24304 25 # What is the latest version available today?
pascal@24304 26 current_version()
pascal@24304 27 {
pascal@24304 28 wget -O - ${WGET_URL%/*/*}$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24304 29 sed '/href/!d;s|.*">|/|;s|<.*||' | tail -n1) 2>/dev/null | \
pascal@24304 30 sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24304 31 }
pascal@24304 32
pankso@12480 33 # Rules to configure and make the package.
pankso@12480 34 compile_rules()
pankso@12480 35 {
pankso@12927 36 # Fix undeclared 'LINE_MAX'
pankso@12927 37 case "$ARCH" in
pankso@12927 38 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
pankso@12927 39 esac
al@19253 40
Hans-G?nter@22091 41 ./configure \
Hans-G?nter@22091 42 --prefix=/usr \
Hans-G?nter@22091 43 --sysconfdir=/etc \
pankso@12480 44 $CONFIGURE_ARGS &&
Hans-G?nter@22091 45 make &&
Hans-G?nter@22091 46 make install
pankso@12480 47 }