wok-stable annotate glibmm/receipt @ rev 2090
Asunder: add suggested
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 28 16:23:03 2009 +0100 (2009-01-28) |
parents | c94bfd9c3c73 |
children | 987853b8719d |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="glibmm" |
pankso@837 | 4 VERSION="2.16.2" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@137 | 6 SHORT_DESC="C++ interface for the popular GUI library GTK+." |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@842 | 8 BUILD_DEPENDS="libsigc++ libsigc++-dev libgio libgio-dev" |
pankso@137 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 10 WEB_SITE="http://www.gtkmm.org/" |
pankso@837 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.16/$TARBALL" |
pankso@137 | 12 |
pankso@137 | 13 # Rules to configure and make the package. |
pankso@137 | 14 compile_rules() |
pankso@137 | 15 { |
pankso@137 | 16 cd $src |
pankso@137 | 17 ./configure \ |
pankso@137 | 18 --prefix=/usr \ |
pankso@137 | 19 --infodir=/usr/share/info \ |
pankso@137 | 20 --mandir=/usr/share/man \ |
pankso@137 | 21 $CONFIGURE_ARGS |
pankso@137 | 22 make |
pankso@137 | 23 make DESTDIR=$PWD/_pkg install |
pankso@137 | 24 } |
pankso@137 | 25 |
pankso@137 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 27 genpkg_rules() |
pankso@137 | 28 { |
pankso@137 | 29 mkdir -p $fs/usr/lib |
pankso@137 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@842 | 31 # Remove libgiomm |
pankso@842 | 32 rm -rf $fs/usr/lib/libgiomm* |
pascal@1505 | 33 # Cook all packages based on glibmm |
pascal@1505 | 34 for i in $(cd $WOK; grep -l '^WANTED="glibmm"$' */receipt) |
pascal@1505 | 35 do |
pascal@1505 | 36 echo tazwok cook ${i%/receipt} |
pascal@1505 | 37 done |
pankso@137 | 38 } |