wok view util-linux/receipt @ rev 25665
Up advancecomp (2.6), apache (2.4.58), apache-mod-perl (2.0.13), apache-mod-wsgi (5.0.0), apr (1.7.4), awstats (7.9), gzip (1.13), zbar (0.23.93), zlib (1.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 19:18:54 2024 +0000 (8 months ago) |
parents | 922f061231c2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.38"
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://mirrors.edge.kernel.org/pub/linux/utils/$PACKAGE/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="gcc83 libcap-ng-dev ncursesw-dev readline-dev python-dev udev-dev"
15 SPLIT="util-linux-blkid
16 util-linux-blkid-dev
17 util-linux-blockdev
18 util-linux-cfdisk
19 util-linux-column
20 util-linux-cramfs
21 util-linux-eject
22 util-linux-fdisk
23 util-linux-fdisk-dev
24 util-linux-flock
25 util-linux-getopt
26 util-linux-losetup
27 util-linux-minix
28 util-linux-mkfs
29 util-linux-mount
30 util-linux-mount-dev
31 util-linux-partx
32 util-linux-setterm
33 util-linux-sfdisk
34 util-linux-smartcols
35 util-linux-smartcols-dev
36 util-linux-uuid
37 util-linux-uuid-dev
38 util-linux-whereis"
40 HOST_ARCH="i486 arm"
42 # What is the latest version available today?
43 current_version()
44 {
45 wget -O - ${WGET_URL%/*/*}$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
46 sed '/href/!d;s|.*">|/|;s|<.*||' | tail -n1) 2>/dev/null | \
47 sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
48 }
50 # Rules to configure and make the package.
51 compile_rules()
52 {
53 # Fix undeclared 'LINE_MAX'
54 case "$ARCH" in
55 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
56 esac
58 ./configure \
59 CC=gcc-83 \
60 CXX=g++-83 \
61 --prefix=/usr \
62 --sysconfdir=/etc \
63 $CONFIGURE_ARGS &&
64 make &&
65 make install
66 }