wok-next view goocanvas2/receipt @ rev 21057
Deal with HOST_ARCH="any"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 14:47:30 2018 +0200 (2018-12-03) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="goocanvas2"
4 VERSION="2.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Cairo canvas widget for GTK+3"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/GooCanvas"
10 REPOLOGY="goocanvas"
12 TARBALL="goocanvas-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/goocanvas/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="gtk3-dev gettext-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 goocanvas2)
28 copy @std
29 DEPENDS="atk cairo gdk-pixbuf glib gtk3 pango"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="goocanvas2 cairo-dev gtk3-dev"
34 ;;
35 esac
36 }