wok-next annotate glibmm/receipt @ rev 16770
Fix loop depends: 1) xorg-libXfont <-> xorg-libXfont; 2) glibmm <-> libgiomm (thanks "tazpkg check").
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 20 00:27:57 2014 +0300 (2014-06-20) |
parents | 76b72f1ad63c |
children | 10803e6295e4 |
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 |
al@16770 | 13 DEPENDS="glib libsigc++ gcc-lib-base glibc-base libffi pcre" |
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 { |
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 |
pascal@14996 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@842 | 29 # Remove libgiomm |
pankso@842 | 30 rm -rf $fs/usr/lib/libgiomm* |
pankso@137 | 31 } |