wok annotate glibmm/receipt @ rev 13889
Up: slitaz-dev-tools (1.9)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 17 19:37:12 2013 +0100 (2013-01-17) |
parents | 57760a0cef5d |
children | 76b72f1ad63c |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="glibmm" |
slaxemulator@10994 | 4 VERSION="2.30.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" |
slaxemulator@7085 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@137 | 9 WEB_SITE="http://www.gtkmm.org/" |
slaxemulator@10994 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
pankso@137 | 11 |
pankso@9711 | 12 DEPENDS="glib libgio libgiomm libsigc++ gcc-lib-base" |
pankso@9711 | 13 BUILD_DEPENDS="glib-dev libsigc++-dev" |
pankso@9711 | 14 |
pankso@137 | 15 # Rules to configure and make the package. |
pankso@137 | 16 compile_rules() |
pankso@137 | 17 { |
pankso@137 | 18 cd $src |
pascal@12673 | 19 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
slaxemulator@10088 | 20 ./configure $CONFIGURE_ARGS && |
slaxemulator@10088 | 21 make && make install |
pankso@137 | 22 } |
pankso@137 | 23 |
pankso@137 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 25 genpkg_rules() |
pankso@137 | 26 { |
pankso@137 | 27 mkdir -p $fs/usr/lib |
pankso@137 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@842 | 29 # Remove libgiomm |
pankso@842 | 30 rm -rf $fs/usr/lib/libgiomm* |
pankso@137 | 31 } |