wok-next diff parted/receipt @ rev 171

Add : portmap and unfs3
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 31 22:42:51 2008 +0100 (2008-01-31)
parents
children cf22fee17710
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/parted/receipt	Thu Jan 31 22:42:51 2008 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="parted"
     1.7 +VERSION="1.8.8"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="GNU parted partition editor."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
    1.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	./configure \
    1.20 +		--prefix=/usr \
    1.21 +		--infodir=/usr/share/info \
    1.22 +		--mandir=/usr/share/man \
    1.23 +		--disable-debug \
    1.24 +		--disable-Werror \
    1.25 +		--without-readline \
    1.26 +		$CONFIGURE_ARGS
    1.27 +	make
    1.28 +	make DESTDIR=$PWD/_pkg install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.35 +	
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/sbin $fs/usr
    1.38 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.39 +	
    1.40 +	strip -s $fs/usr/lib/* 2>/dev/null
    1.41 +	strip -s $fs/usr/sbin/* 2>/dev/null
    1.42 +}