wok view util-linux-ng/receipt @ rev 4003
linux: ensure linux-source will have patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 31 17:17:44 2009 +0200 (2009-08-31) |
parents | 028e3be0e05c |
children | c1004e0f2921 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng"
4 VERSION="2.15.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.15/$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 }