wok-next annotate util-linux/receipt @ rev 12756
asterisk: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 10:02:55 2012 +0200 (2012-05-12) |
parents | |
children | 64e7fff3f73c |
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" |
pankso@12480 | 8 SOURCE="util-linux" |
pankso@12480 | 9 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@12480 | 10 WEB_SITE="http://kernel.org/~kzak/util-linux/" |
pankso@12480 | 11 WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/$TARBALL" |
pankso@12480 | 12 COOK_OPT="!fs" |
pankso@12480 | 13 LOCALE="" |
pankso@12480 | 14 |
pankso@12480 | 15 DEPENDS="" |
pankso@12480 | 16 BUILD_DEPENDS="ncurses-dev zlib-dev" |
pankso@12480 | 17 |
pankso@12480 | 18 # Rules to configure and make the package. |
pankso@12480 | 19 compile_rules() |
pankso@12480 | 20 { |
pankso@12480 | 21 cd $src |
pankso@12480 | 22 ./configure \ |
pankso@12480 | 23 --prefix=/usr \ |
pankso@12480 | 24 --sysconfdir=/etc \ |
pankso@12480 | 25 --with-fsprobe=builtin \ |
pankso@12480 | 26 --enable-partx \ |
pankso@12480 | 27 $CONFIGURE_ARGS && |
pankso@12480 | 28 make && make install |
pankso@12480 | 29 } |
pankso@12480 | 30 |
pankso@12480 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12480 | 32 genpkg_rules() |
pankso@12480 | 33 { |
pankso@12480 | 34 mkdir -p $fs/usr/bin |
pankso@12480 | 35 } |