wok annotate util-linux-ng/receipt @ rev 5297
Up: xorg-xtrans (1.2.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 18 23:38:11 2010 +0200 (2010-04-18) |
parents | a33da4f6b702 |
children | 964f5d384827 |
rev | line source |
---|---|
pankso@3104 | 1 # SliTaz package receipt. |
pankso@3104 | 2 |
pankso@3104 | 3 PACKAGE="util-linux-ng" |
pankso@4049 | 4 VERSION="2.16.1" |
pankso@3476 | 5 CATEGORY="meta" |
pankso@3104 | 6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)." |
pankso@3104 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3104 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@3104 | 9 DEPENDS="glibc-base" |
pankso@3353 | 10 BUILD_DEPENDS="slitaz-toolchain ncurses-dev e2fsprogs-dev" |
pankso@3104 | 11 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/" |
pankso@4049 | 12 WGET_URL="ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.16/$TARBALL" |
pankso@3104 | 13 LOCALE="" |
pankso@3104 | 14 |
pankso@3104 | 15 # Rules to configure and make the package. |
pankso@3104 | 16 compile_rules() |
pankso@3104 | 17 { |
pankso@3104 | 18 cd $src |
pankso@3104 | 19 if ! grep 'tty:x:4:' /etc/group; then |
pankso@3104 | 20 addgroup -g 4 tty |
pankso@3104 | 21 fi |
pankso@3104 | 22 ./configure \ |
pankso@3104 | 23 --prefix=/usr \ |
pankso@3104 | 24 --sysconfdir=/etc \ |
pankso@3104 | 25 --with-fsprobe=builtin \ |
pankso@3104 | 26 --enable-partx \ |
pankso@3104 | 27 $CONFIGURE_ARGS && |
pankso@3104 | 28 make && |
pankso@3104 | 29 make DESTDIR=$PWD/_pkg install |
pankso@3104 | 30 } |
pankso@3104 | 31 |
pankso@3104 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3104 | 33 genpkg_rules() |
pankso@3104 | 34 { |
pankso@3104 | 35 mkdir -p $fs/usr/bin |
pankso@3104 | 36 } |