wok-next view goocanvas/receipt @ rev 21105
Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 17:29:48 2019 +0200 (2019-01-04) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="goocanvas"
4 VERSION="1.0.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Cairo canvas widget for GTK+2"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/GooCanvas"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev gettext-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 goocanvas)
27 copy @std
28 DEPENDS="atk libcairo gdk-pixbuf glib gtk2 pango"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="goocanvas cairo-dev gtk2-dev"
33 ;;
34 esac
35 }