wok-next annotate goffice/receipt @ rev 20463

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 11:29:35 2018 +0200 (2018-03-06)
parents dd145c435e4b
children c0521c689857
rev   line source
al@20463 1 # SliTaz package receipt v2.
pankso@565 2
pankso@565 3 PACKAGE="goffice"
al@19466 4 VERSION="0.10.32"
al@19466 5 CATEGORY="libs"
al@19466 6 SHORT_DESC="GOffice is a library of document-centric objects and utilities"
pankso@565 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@20463 9 WEB_SITE="https://developer.gnome.org/goffice/"
al@20463 10
samuel_trassare@11785 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@11160 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@11160 13
pascal@20004 14 BUILD_DEPENDS="cairo-dev gtk+3-dev libgsf-dev librsvg-dev libxslt-dev gtk-doc \
pascal@20004 15 intltool"
al@20463 16 SPLIT="goffice-dev"
pankso@565 17
al@20463 18 compile_rules() {
al@19466 19 ./configure $CONFIGURE_ARGS && make && make install
pankso@565 20 }
pankso@565 21
al@20463 22 genpkg_rules() {
al@20463 23 case $PACKAGE in
al@20463 24 goffice)
al@20463 25 copy *.so* *.xml *.xsl README
al@20463 26 DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig \
al@20463 27 freetype gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi \
al@20463 28 libgsf libpng16 librsvg xorg-libxcb libxml2 libxslt pango pcre \
al@20463 29 xorg-pixman util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \
al@20463 30 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
al@20463 31 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \
al@20463 32 xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
al@20463 33 ;;
al@20463 34 *-dev)
al@20463 35 copy *.h *.la *.pc
al@20463 36 DEPENDS="goffice glib-dev libgsf-dev libxml2-dev gtk+3-dev \
al@20463 37 cairo-dev pango-dev librsvg-dev libxslt-dev"
al@20463 38 ;;
al@20463 39 esac
pankso@565 40 }