wok-6.x view util-linux/receipt @ rev 23831

syslinux/iso2exe: fix loram case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 31 14:59:28 2020 +0000 (2020-05-31)
parents 268e759bcf02
children 922f061231c2
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.35.1"
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-bash-completion util-linux-blkid util-linux-blkid-dev
16 util-linux-blockdev util-linux-cfdisk util-linux-column util-linux-cramfs
17 util-linux-eject util-linux-fdisk util-linux-fdisk-dev util-linux-flock
18 util-linux-getopt util-linux-losetup util-linux-minix util-linux-mkfs
19 util-linux-mount util-linux-mount-dev util-linux-partx util-linux-setterm
20 util-linux-sfdisk util-linux-smartcols util-linux-smartcols-dev
21 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 }