wok-current annotate parted/receipt @ rev 1451

emelfm2 flac libvorbis parted vorbis-tools: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 13:43:47 2008 +0000 (2008-10-03)
parents cf22fee17710
children 89e187b7d309
rev   line source
pankso@136 1 # SliTaz package receipt.
pankso@136 2
pankso@136 3 PACKAGE="parted"
pankso@136 4 VERSION="1.8.8"
pankso@211 5 CATEGORY="system-tools"
pankso@136 6 SHORT_DESC="GNU parted partition editor."
pankso@136 7 MAINTAINER="pankso@slitaz.org"
pascal@1451 8 BUILD_DEPENDS="e2fsprogs-dev"
pankso@136 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@136 10 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
pankso@136 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@136 12
pankso@136 13 # Rules to configure and make the package.
pankso@136 14 compile_rules()
pankso@136 15 {
pankso@136 16 cd $src
pankso@136 17 ./configure \
pankso@136 18 --prefix=/usr \
pankso@136 19 --infodir=/usr/share/info \
pankso@136 20 --mandir=/usr/share/man \
pankso@136 21 --disable-debug \
pankso@136 22 --disable-Werror \
pankso@136 23 --without-readline \
pascal@1451 24 $CONFIGURE_ARGS &&
pascal@1451 25 make &&
pankso@136 26 make DESTDIR=$PWD/_pkg install
pankso@136 27 }
pankso@136 28
pankso@136 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@136 30 genpkg_rules()
pankso@136 31 {
pankso@136 32 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@136 33
pankso@136 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@136 35 cp -a $_pkg/usr/sbin $fs/usr
pankso@136 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@136 37
pankso@136 38 strip -s $fs/usr/lib/* 2>/dev/null
pankso@136 39 strip -s $fs/usr/sbin/* 2>/dev/null
pankso@136 40 }