wok-current annotate glibmm/receipt @ rev 5351
Up: sqlite, sqlite-dev, lemon (3.6.23.1) - I sed out rpath using code from archlinux PKGBUILD of sqlite.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 12:32:25 2010 +0000 (2010-04-28) |
parents | 05b4f7c7b60f |
children | 4feb14025071 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="glibmm" |
pankso@3069 | 4 VERSION="2.20.0" |
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" |
pascal@5001 | 8 DEPENDS="glib libgio libgiomm libsigc++ gcc-lib-base" |
pankso@4497 | 9 BUILD_DEPENDS="$DEPENDS glib-dev libgio-dev libgiomm-dev libsigc++-dev" |
pankso@137 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 11 WEB_SITE="http://www.gtkmm.org/" |
pankso@3069 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.20/$TARBALL" |
pankso@137 | 13 |
pankso@137 | 14 # Rules to configure and make the package. |
pankso@137 | 15 compile_rules() |
pankso@137 | 16 { |
pankso@137 | 17 cd $src |
pankso@137 | 18 ./configure \ |
pankso@137 | 19 --prefix=/usr \ |
pankso@137 | 20 --infodir=/usr/share/info \ |
pankso@137 | 21 --mandir=/usr/share/man \ |
pascal@2485 | 22 $CONFIGURE_ARGS && |
pascal@2485 | 23 make && |
pankso@137 | 24 make DESTDIR=$PWD/_pkg install |
pankso@137 | 25 } |
pankso@137 | 26 |
pankso@137 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 28 genpkg_rules() |
pankso@137 | 29 { |
pankso@137 | 30 mkdir -p $fs/usr/lib |
pankso@137 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@842 | 32 # Remove libgiomm |
pankso@842 | 33 rm -rf $fs/usr/lib/libgiomm* |
pascal@1505 | 34 # Cook all packages based on glibmm |
pascal@1505 | 35 for i in $(cd $WOK; grep -l '^WANTED="glibmm"$' */receipt) |
pascal@1505 | 36 do |
pascal@1505 | 37 echo tazwok cook ${i%/receipt} |
pascal@1505 | 38 done |
pankso@137 | 39 } |