wok annotate libsigc++/receipt @ rev 3035

Moved locale-pt_BR to locale-pt
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 12 14:59:16 2009 +0200 (2009-05-12)
parents cf22fee17710
children 3219146fdecd
rev   line source
pankso@137 1 # SliTaz package receipt.
pankso@137 2
pankso@137 3 PACKAGE="libsigc++"
pankso@137 4 VERSION="2.0.18"
pankso@211 5 CATEGORY="system-tools"
pankso@137 6 SHORT_DESC="Callback Framework for C++"
pankso@137 7 MAINTAINER="pankso@slitaz.org"
pankso@137 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@137 9 WEB_SITE="http://libsigc.sourceforge.net/"
pankso@137 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/$TARBALL"
pankso@137 11
pankso@137 12 # Rules to configure and make the package.
pankso@137 13 compile_rules()
pankso@137 14 {
pankso@137 15 cd $src
pankso@137 16 ./configure \
pankso@137 17 --prefix=/usr \
pankso@137 18 --infodir=/usr/share/info \
pankso@137 19 --mandir=/usr/share/man \
pascal@2555 20 $CONFIGURE_ARGS &&
pascal@2555 21 make &&
pankso@137 22 make DESTDIR=$PWD/_pkg install
pankso@137 23 }
pankso@137 24
pankso@137 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@137 26 genpkg_rules()
pankso@137 27 {
pankso@137 28 mkdir -p $fs/usr/lib
pankso@137 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@137 30 strip -s $fs/usr/lib/*
pankso@137 31 # clean wok
pascal@2555 32 rm $WOK/$PACKAGE/classsigc_* 2> /dev/null
pascal@2555 33 rm $WOK/$PACKAGE/struct* 2> /dev/null
pankso@137 34 }