wok annotate libglademm/receipt @ rev 19091

Add brower-html5 virtual package
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 10:11:21 2016 +0200 (2016-05-01)
parents 4904e3d374a9
children eeba7ab1dffe
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