wok-next annotate glibmm/receipt @ rev 15288

pkg-config: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 17:57:02 2013 +0000 (2013-09-26)
parents afa646cac104
children f18af4c8752a
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"
pascal@14996 8 LICENSE="LGPL2.1"
slaxemulator@7085 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@137 10 WEB_SITE="http://www.gtkmm.org/"
slaxemulator@10994 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
pankso@137 12
pankso@9711 13 DEPENDS="glib libgio libgiomm libsigc++ gcc-lib-base"
pankso@9711 14 BUILD_DEPENDS="glib-dev libsigc++-dev"
pankso@9711 15
pankso@137 16 # Rules to configure and make the package.
pankso@137 17 compile_rules()
pankso@137 18 {
pankso@137 19 cd $src
pascal@12673 20 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
slaxemulator@10088 21 ./configure $CONFIGURE_ARGS &&
slaxemulator@10088 22 make && make 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
pascal@14996 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@842 30 # Remove libgiomm
pankso@842 31 rm -rf $fs/usr/lib/libgiomm*
pankso@137 32 }