wok-current annotate util-linux/receipt @ rev 19170
Fix typo in $MAINTAINER
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 02 11:40:11 2016 +0300 (2016-06-02) |
parents | 5f652b930fb9 |
children | 4f122372e6f6 |
rev | line source |
---|---|
pankso@12480 | 1 # SliTaz package receipt. |
pankso@12480 | 2 |
pankso@12480 | 3 PACKAGE="util-linux" |
mojo@15713 | 4 VERSION="2.24" |
pankso@12480 | 5 CATEGORY="meta" |
pankso@12480 | 6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)." |
pankso@12480 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@12480 | 9 SOURCE="util-linux" |
pankso@12480 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
samuel_trassare@13397 | 11 WEB_SITE="http://freecode.com/projects/util-linux/" |
pascal@17923 | 12 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v$VERSION/$TARBALL" |
pankso@12927 | 13 HOST_ARCH="i486 arm" |
pankso@12480 | 14 LOCALE="" |
pankso@12480 | 15 |
pascal@17674 | 16 DEPENDS="ncurses" |
pascal@17923 | 17 BUILD_DEPENDS="wget ncurses-dev zlib-dev udev-dev" |
pankso@12480 | 18 |
pankso@12480 | 19 # Rules to configure and make the package. |
pankso@12480 | 20 compile_rules() |
pankso@12480 | 21 { |
pankso@12927 | 22 # Fix undeclared 'LINE_MAX' |
pankso@12927 | 23 case "$ARCH" in |
pankso@12927 | 24 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;; |
pankso@12927 | 25 esac |
pankso@12480 | 26 ./configure \ |
pankso@12480 | 27 --prefix=/usr \ |
pankso@12480 | 28 --sysconfdir=/etc \ |
pankso@12480 | 29 --with-fsprobe=builtin \ |
pankso@12480 | 30 --enable-partx \ |
pankso@12480 | 31 $CONFIGURE_ARGS && |
pankso@12480 | 32 make && make install |
pankso@12480 | 33 } |
pankso@12480 | 34 |
pankso@12480 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12480 | 36 genpkg_rules() |
pankso@12480 | 37 { |
pankso@12480 | 38 mkdir -p $fs/usr/bin |
pankso@12480 | 39 } |