wok-current annotate util-linux/receipt @ rev 20535
Add util-linux-losetup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 26 09:47:18 2018 +0100 (2018-11-26) |
parents | 11b5e93cb5f2 |
children | 268e759bcf02 |
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 \ |
pascal@20535 | 19 util-linux-losetup \ |
al@19253 | 20 util-linux-minix util-linux-mkfs util-linux-mount util-linux-mount-dev \ |
al@19253 | 21 util-linux-partx util-linux-setterm util-linux-sfdisk util-linux-smartcols \ |
al@19253 | 22 util-linux-smartcols-dev util-linux-uuid util-linux-uuid-dev util-linux-whereis" |
pankso@12480 | 23 |
pankso@12480 | 24 # Rules to configure and make the package. |
pankso@12480 | 25 compile_rules() |
pankso@12480 | 26 { |
pankso@12927 | 27 # Fix undeclared 'LINE_MAX' |
pankso@12927 | 28 case "$ARCH" in |
pankso@12927 | 29 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;; |
pankso@12927 | 30 esac |
al@19253 | 31 |
pankso@12480 | 32 ./configure \ |
pankso@12480 | 33 --prefix=/usr \ |
pankso@12480 | 34 --sysconfdir=/etc \ |
pankso@12480 | 35 $CONFIGURE_ARGS && |
pankso@12480 | 36 make && make install |
pankso@12480 | 37 } |