wok view util-linux/receipt @ rev 12679

centerim: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 15:12:54 2012 +0200 (2012-05-01)
parents
children 64e7fff3f73c
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.21.1"
5 CATEGORY="meta"
6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="util-linux"
9 TARBALL="$SOURCE-$VERSION.tar.xz"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
11 WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/$TARBALL"
12 COOK_OPT="!fs"
13 LOCALE=""
15 DEPENDS=""
16 BUILD_DEPENDS="ncurses-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --with-fsprobe=builtin \
26 --enable-partx \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 }