# HG changeset patch # User Christophe Lincoln # Date 1199716963 -3600 # Node ID 07774420350a019af53dcb6ed17b2481c33fb2ce # Parent ff8d849faebcb6a094a87ff2b00e849bc3282c82 Add : GNU parted diff -r ff8d849faebc -r 07774420350a parted-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/parted-dev/receipt Mon Jan 07 15:42:43 2008 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="parted-dev" +VERSION="1.8.8" +CATEGORY="devel" +SHORT_DESC="GNU parted editor devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="parted" +WEB_SITE="http://www.gnu.org/software/parted/index.shtml" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r ff8d849faebc -r 07774420350a parted/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/parted/receipt Mon Jan 07 15:42:43 2008 +0100 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="parted" +VERSION="1.8.8" +CATEGORY="extra" +SHORT_DESC="GNU parted partition editor." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/parted/index.shtml" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --disable-debug \ + --disable-Werror \ + --without-readline \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share/locale + + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + + strip -s $fs/usr/lib/* 2>/dev/null + strip -s $fs/usr/sbin/* 2>/dev/null +}