wok-6.x view util-linux/receipt @ rev 19329
ipxe: add ip config in menu (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 14 23:39:05 2016 +0200 (2016-07-14) |
parents | 4f122372e6f6 |
children | a8e996b473e0 |
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-minix util-linux-mkfs util-linux-mount util-linux-mount-dev \
20 util-linux-partx util-linux-setterm util-linux-sfdisk util-linux-smartcols \
21 util-linux-smartcols-dev util-linux-uuid util-linux-uuid-dev util-linux-whereis"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Fix undeclared 'LINE_MAX'
27 case "$ARCH" in
28 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
29 esac
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }