wok-next annotate libgnomecanvas/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@20344 1 # SliTaz package receipt v2.
pankso@37 2
pankso@37 3 PACKAGE="libgnomecanvas"
slaxemulator@10209 4 VERSION="2.30.3"
pankso@209 5 CATEGORY="x-window"
pankso@37 6 SHORT_DESC="GNOME canvas library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://www.gnome.org/"
al@20344 10
pankso@37 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@10209 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@37 13
al@21017 14 BUILD_DEPENDS="gtk2-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \
gokhlayeh@11394 15 intltool"
al@21020 16 SPLIT="$PACKAGE-dev"
pankso@9769 17
al@20344 18 compile_rules() {
pankso@37 19 ./configure \
pankso@37 20 --with-html-dir=/usr/share/doc \
pascal@9125 21 --enable-glade \
pascal@2477 22 $CONFIGURE_ARGS &&
al@20577 23 fix libtool &&
al@20577 24 make &&
al@20577 25 make install
pankso@37 26 }
pankso@37 27
al@20344 28 genpkg_rules() {
al@20344 29 case $PACKAGE in
al@20344 30 libgnomecanvas)
al@20344 31 copy @std
al@21017 32 DEPENDS="atk gdk-pixbuf glib gtk2 libart_lgpl libglade pango"
al@20344 33 ;;
al@20344 34 *-dev)
al@20344 35 copy @dev
al@21017 36 DEPENDS="libgnomecanvas gtk2-dev libart_lgpl-dev pango-dev"
al@20344 37 ;;
al@20344 38 esac
pankso@37 39 }