wok-next annotate gtkmm/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 f48456621a9d
children 5669e8b3be70
rev   line source
al@20462 1 # SliTaz package receipt v2.
pankso@137 2
pankso@137 3 PACKAGE="gtkmm"
al@19811 4 VERSION="2.24.5"
pankso@209 5 CATEGORY="x-window"
al@20462 6 SHORT_DESC="C++ interface for the popular GUI library GTK+"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
al@21020 9 WEB_SITE="https://www.gtkmm.org/en/"
al@20882 10 REPOLOGY="gtkmm2"
al@20462 11
slaxemulator@14633 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@14630 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
pankso@137 14
al@21017 15 BUILD_DEPENDS="doxygen gtk2-dev atkmm-dev glibmm-dev cairomm-dev libsigc++-dev \
al@20460 16 pangomm-dev glibmm-dev mm-common"
al@21020 17 SPLIT="$PACKAGE-dev"
pankso@9810 18
al@20462 19 compile_rules() {
pankso@137 20 ./configure \
slaxemulator@11118 21 --disable-documentation \
slaxemulator@11118 22 $CONFIGURE_ARGS &&
al@20575 23 fix libtool &&
slaxemulator@9531 24 make &&
slaxemulator@9531 25 make install
pankso@137 26 }
pankso@137 27
al@20462 28 genpkg_rules() {
al@20462 29 case $PACKAGE in
al@20462 30 gtkmm)
al@20550 31 copy @std
al@21017 32 DEPENDS="gtk2 atkmm glibmm cairomm libsigc++ xorg-libXdamage \
al@20462 33 libgiomm pangomm gcc-lib-base"
al@20462 34 ;;
al@20462 35 *-dev)
al@20550 36 copy @dev
al@21020 37 DEPENDS="gtkmm gtk2-dev atkmm-dev glibmm-dev glibmm-dev \
al@20462 38 pangomm-dev"
al@20462 39 ;;
al@20462 40 esac
pankso@137 41 }