wok-next view goffice/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 | a1e4526c43b7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="goffice"
4 VERSION="0.10.32"
5 CATEGORY="libs"
6 SHORT_DESC="Document-centric objects and utilities"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/goffice/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="cairo-dev gtk3-dev libgsf-dev librsvg-dev libxslt-dev gtk-doc \
15 intltool"
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 goffice)
28 copy @std
29 DEPENDS="atk libcairo gdk-pixbuf glib gtk3 libgsf librsvg libxml2 \
30 libxslt pango"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="goffice cairo-dev glib-dev gtk3-dev libgsf-dev \
35 librsvg-dev libxml2-dev libxslt-dev pango-dev"
36 ;;
37 esac
38 }