wok-next annotate atkmm/receipt @ rev 20970

Typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 14 08:02:55 2018 +0300 (2018-09-14)
parents 835b3b8ce6ac
children f48456621a9d
rev   line source
al@19733 1 # SliTaz package receipt v2.
slaxemulator@7094 2
slaxemulator@7094 3 PACKAGE="atkmm"
al@19682 4 VERSION="2.24.2"
slaxemulator@7094 5 CATEGORY="x-window"
al@20095 6 SHORT_DESC="C++ interface for the ATK accessibility toolkit library"
slaxemulator@7094 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
al@20095 9 WEB_SITE="https://developer.gnome.org/atkmm/"
al@20095 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/atkmm.html"
al@19682 11
al@19682 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@9530 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7094 14
al@19682 15 BUILD_DEPENDS="atk-dev glibmm-dev"
al@19733 16 SPLIT="atkmm-dev"
pascal@14996 17
al@20095 18 compile_rules() {
al@19682 19 sed -i "/^libdocdir =/ s|\$(book_name)|atkmm-$VERSION|" doc/Makefile.in
al@19682 20
al@20569 21 ./configure $CONFIGURE_ARGS &&
al@20569 22 fix libtool &&
al@20569 23 make &&
al@20569 24 make install
slaxemulator@7094 25 }
slaxemulator@7094 26
al@20095 27 genpkg_rules() {
al@19733 28 case $PACKAGE in
al@19733 29 atkmm)
al@19733 30 copy @std
al@19733 31 DEPENDS="atk glib glibmm libsigc++"
al@19733 32 ;;
al@20095 33 *-dev)
al@19733 34 copy @dev
al@20640 35 DEPENDS="atkmm atk-dev glibmm-dev"
al@19733 36 ;;
al@19733 37 esac
slaxemulator@7094 38 }