wok view util-linux-ng/receipt @ rev 3261

Add: libffi
author Matthew Sheets <rcx@zoominternet.net>
date Mon Jun 01 10:45:43 2009 +0000 (2009-06-01)
parents
children 028e3be0e05c
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng"
4 VERSION="2.15"
5 CATEGORY="development"
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"
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 }