wok-next annotate libglademm/receipt @ rev 20456

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 03:33:54 2018 +0200 (2018-03-02)
parents 140ee6de0635
children 0ec6086e21d6
rev   line source
al@20456 1 # SliTaz package receipt v2.
gokhlayeh@7030 2
gokhlayeh@7030 3 PACKAGE="libglademm"
gokhlayeh@7030 4 VERSION="2.6.7"
gokhlayeh@7030 5 CATEGORY="system-tools"
al@20456 6 SHORT_DESC="A C++ wrapper for libglade"
gokhlayeh@7030 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
al@20456 9 WEB_SITE="http://gtkmm.sourceforge.net/"
al@20456 10
slaxemulator@7102 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7102 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
gokhlayeh@7030 13
pascal@14714 14 BUILD_DEPENDS="gtkmm-dev libglade-dev cairomm-dev libxml2-dev glibmm-dev"
al@20456 15 SPLIT="libglademm-dev"
pascal@14714 16
al@20456 17 compile_rules() {
pascal@14739 18 sed -i 's|gtkmm/main|gtkmm|' examples/variablesmap/main.cc
gokhlayeh@7030 19 ./configure \
gokhlayeh@7030 20 --prefix=/usr \
gokhlayeh@7030 21 --infodir=/usr/share/info \
gokhlayeh@7030 22 --mandir=/usr/share/man \
gokhlayeh@7030 23 $CONFIGURE_ARGS &&
pascal@14714 24 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
gokhlayeh@7030 25 }
gokhlayeh@7030 26
al@20456 27 genpkg_rules() {
al@20456 28 case $PACKAGE in
al@20456 29 libglademm)
al@20456 30 copy @std
al@20456 31 DEPENDS="gtkmm libglade glibmm"
al@20456 32 ;;
al@20456 33 *-dev)
al@20456 34 copy @dev
al@20456 35 ;;
al@20456 36 esac
gokhlayeh@7030 37 }