wok-next annotate libglademm/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
al@20906 9 WEB_SITE="https://www.gtkmm.org/en/"
al@20456 10
slaxemulator@7102 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@21020 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
gokhlayeh@7030 13
pascal@14714 14 BUILD_DEPENDS="gtkmm-dev libglade-dev cairomm-dev libxml2-dev glibmm-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@14714 16
al@20456 17 compile_rules() {
pascal@14739 18 sed -i 's|gtkmm/main|gtkmm|' examples/variablesmap/main.cc
al@20575 19
al@20575 20 ./configure $CONFIGURE_ARGS &&
al@20575 21 fix libtool &&
al@20575 22 make $MAKEFLAGS &&
al@21020 23 make DESTDIR=$install install
gokhlayeh@7030 24 }
gokhlayeh@7030 25
al@20456 26 genpkg_rules() {
al@20456 27 case $PACKAGE in
al@20456 28 libglademm)
al@20456 29 copy @std
al@20456 30 DEPENDS="gtkmm libglade glibmm"
al@20456 31 ;;
al@20456 32 *-dev)
al@20456 33 copy @dev
al@20456 34 ;;
al@20456 35 esac
gokhlayeh@7030 36 }