wok-current view util-linux/receipt @ rev 19253
Up util-linux* (2.28); use new cook functions here.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 30 22:48:07 2016 +0300 (2016-06-30) |
parents | 36278632a653 |
children | 11b5e93cb5f2 |
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
37 cook_compress_manpages
38 }