wok annotate glibmm/receipt @ rev 13023
usbids: symlink for lsusb
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Jun 10 01:33:51 2012 +0000 (2012-06-10) |
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 } |