wok-next annotate libglademm/receipt @ rev 14886

Up: python-jinja2 (2.7)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:00:37 2013 -0300 (2013-07-24)
parents 4904e3d374a9
children c3a368c0cddb
rev   line source
gokhlayeh@7030 1 # SliTaz package receipt.
gokhlayeh@7030 2
gokhlayeh@7030 3 PACKAGE="libglademm"
gokhlayeh@7030 4 VERSION="2.6.7"
gokhlayeh@7030 5 CATEGORY="system-tools"
gokhlayeh@7030 6 SHORT_DESC="A C++ wrapper for libglade."
gokhlayeh@7030 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
slaxemulator@7102 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@7030 10 WEB_SITE="http://gtkmm.sourceforge.net/"
slaxemulator@7102 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
gokhlayeh@7030 12
pascal@14714 13 DEPENDS="gtkmm libglade glibmm"
pascal@14714 14 BUILD_DEPENDS="gtkmm-dev libglade-dev cairomm-dev libxml2-dev glibmm-dev"
pascal@14714 15
gokhlayeh@7030 16 # Rules to configure and make the package.
gokhlayeh@7030 17 compile_rules()
gokhlayeh@7030 18 {
gokhlayeh@7030 19 cd $src
pascal@14739 20 sed -i 's|gtkmm/main|gtkmm|' examples/variablesmap/main.cc
gokhlayeh@7030 21 ./configure \
gokhlayeh@7030 22 --prefix=/usr \
gokhlayeh@7030 23 --infodir=/usr/share/info \
gokhlayeh@7030 24 --mandir=/usr/share/man \
gokhlayeh@7030 25 $CONFIGURE_ARGS &&
pascal@14714 26 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
gokhlayeh@7030 27 }
gokhlayeh@7030 28
gokhlayeh@7030 29 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7030 30 genpkg_rules()
gokhlayeh@7030 31 {
gokhlayeh@7030 32 mkdir -p $fs/usr/lib
pascal@14714 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
gokhlayeh@7030 34 }
gokhlayeh@7030 35