wok-next diff util-linux-ng/receipt @ rev 3351

Add: PolicyKit, version series 0_x
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jun 11 11:19:20 2009 +0000 (2009-06-11)
parents
children 028e3be0e05c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/util-linux-ng/receipt	Thu Jun 11 11:19:20 2009 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="util-linux-ng"
     1.7 +VERSION="2.15"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +DEPENDS="glibc-base"
    1.13 +BUILD_DEPENDS="slitaz-toolchain ncurses-dev"
    1.14 +WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
    1.15 +WGET_URL="ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.15/$TARBALL"
    1.16 +LOCALE=""
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	if ! grep 'tty:x:4:' /etc/group; then
    1.23 +		addgroup -g 4 tty
    1.24 +	fi
    1.25 +	./configure \
    1.26 +		--prefix=/usr \
    1.27 +		--sysconfdir=/etc \
    1.28 +		--with-fsprobe=builtin \
    1.29 +		--enable-partx \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make &&
    1.32 +	make DESTDIR=$PWD/_pkg install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/bin
    1.39 +}