wok-stable annotate libsigc++/receipt @ rev 1325

Add chillispot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 29 10:16:41 2008 +0000 (2008-08-29)
parents a81f47fdb29b
children f354c259bd7d
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 \
pankso@137 20 $CONFIGURE_ARGS
pankso@137 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
pankso@137 32 rm $WOK/$PACKAGE/classsigc_*
pankso@137 33 rm $WOK/$PACKAGE/struct*
pankso@137 34 }