wok annotate util-linux/receipt @ rev 19873
linld/tazboot: fix 286 case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 09:17:01 2017 +0200 (2017-03-31) |
parents | 4f122372e6f6 |
children | a8e996b473e0 |
rev | line source |
---|---|
pankso@12480 | 1 # SliTaz package receipt. |
pankso@12480 | 2 |
pankso@12480 | 3 PACKAGE="util-linux" |
al@19253 | 4 VERSION="2.28" |
pankso@12480 | 5 CATEGORY="meta" |
al@19253 | 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" |
al@19253 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@17923 | 11 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v$VERSION/$TARBALL" |
pankso@12927 | 12 HOST_ARCH="i486 arm" |
pankso@12480 | 13 |
al@19253 | 14 DEPENDS="" |
al@19253 | 15 BUILD_DEPENDS="udev-dev ncursesw-dev libcap-ng-dev readline-dev python-dev" |
al@19253 | 16 SPLIT="util-linux-blkid util-linux-blkid-dev util-linux-blockdev \ |
al@19253 | 17 util-linux-cfdisk util-linux-column util-linux-cramfs util-linux-eject \ |
al@19253 | 18 util-linux-fdisk util-linux-fdisk-dev util-linux-flock util-linux-getopt \ |
al@19253 | 19 util-linux-minix util-linux-mkfs util-linux-mount util-linux-mount-dev \ |
al@19253 | 20 util-linux-partx util-linux-setterm util-linux-sfdisk util-linux-smartcols \ |
al@19253 | 21 util-linux-smartcols-dev util-linux-uuid util-linux-uuid-dev util-linux-whereis" |
pankso@12480 | 22 |
pankso@12480 | 23 # Rules to configure and make the package. |
pankso@12480 | 24 compile_rules() |
pankso@12480 | 25 { |
pankso@12927 | 26 # Fix undeclared 'LINE_MAX' |
pankso@12927 | 27 case "$ARCH" in |
pankso@12927 | 28 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;; |
pankso@12927 | 29 esac |
al@19253 | 30 |
pankso@12480 | 31 ./configure \ |
pankso@12480 | 32 --prefix=/usr \ |
pankso@12480 | 33 --sysconfdir=/etc \ |
pankso@12480 | 34 $CONFIGURE_ARGS && |
pankso@12480 | 35 make && make install |
pankso@12480 | 36 } |