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