wok-current annotate util-linux/receipt @ rev 15292

Up: firefox (17.0.9esr)
author Richard Dunbar <mojo@slitaz.org>
date Thu Sep 26 20:58:22 2013 +0000 (2013-09-26)
parents a579549edab7
children 6531dff139b3
rev   line source
pankso@12480 1 # SliTaz package receipt.
pankso@12480 2
pankso@12480 3 PACKAGE="util-linux"
pankso@12480 4 VERSION="2.21.1"
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/"
pankso@12480 12 WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/$TARBALL"
pankso@12927 13 HOST_ARCH="i486 arm"
pankso@12480 14 LOCALE=""
pankso@12480 15
pankso@12480 16 DEPENDS=""
pankso@12480 17 BUILD_DEPENDS="ncurses-dev zlib-dev"
pankso@12480 18
pankso@12480 19 # Rules to configure and make the package.
pankso@12480 20 compile_rules()
pankso@12480 21 {
pankso@12480 22 cd $src
pankso@12927 23 # Fix undeclared 'LINE_MAX'
pankso@12927 24 case "$ARCH" in
pankso@12927 25 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
pankso@12927 26 esac
pankso@12480 27 ./configure \
pankso@12480 28 --prefix=/usr \
pankso@12480 29 --sysconfdir=/etc \
pankso@12480 30 --with-fsprobe=builtin \
pankso@12480 31 --enable-partx \
pankso@12480 32 $CONFIGURE_ARGS &&
pankso@12480 33 make && make install
pankso@12480 34 }
pankso@12480 35
pankso@12480 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12480 37 genpkg_rules()
pankso@12480 38 {
pankso@12480 39 mkdir -p $fs/usr/bin
pankso@12480 40 }