wok-next view glibmm/receipt @ rev 15472
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 09 17:34:23 2013 +0000 (2013-11-09) |
parents | afa646cac104 |
children | f18af4c8752a |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.30.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gtkmm.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
13 DEPENDS="glib libgio libgiomm libsigc++ gcc-lib-base"
14 BUILD_DEPENDS="glib-dev libsigc++-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 # Remove libgiomm
31 rm -rf $fs/usr/lib/libgiomm*
32 }