wok-next annotate libgnomeprint/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | 6ae55fd90407 |
children | d43bf7aae921 |
rev | line source |
---|---|
pascal@20200 | 1 # SliTaz package receipt v2. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomeprint" |
slaxemulator@10210 | 4 VERSION="2.18.8" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME print library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
pankso@37 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 10 WEB_SITE="http://www.gnome.org/" |
slaxemulator@10210 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 12 |
pascal@12612 | 13 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \ |
pascal@12612 | 14 libxml2-dev" |
al@20344 | 15 SPLIT="libgnomeprint-dev" |
pankso@9768 | 16 |
al@20344 | 17 compile_rules() { |
pankso@37 | 18 ./configure \ |
pankso@37 | 19 --with-html-dir=/usr/share/doc \ |
slaxemulator@10210 | 20 --without-cups \ |
slaxemulator@10210 | 21 $CONFIGURE_ARGS && |
pankso@9768 | 22 make && make install |
pankso@37 | 23 } |
pankso@37 | 24 |
al@20344 | 25 genpkg_rules() { |
pascal@20200 | 26 case $PACKAGE in |
al@20344 | 27 libgnomeprint) |
al@20344 | 28 copy @std |
al@20344 | 29 DEPENDS="bzlib fontconfig freetype glib libart_lgpl libffi \ |
al@20344 | 30 libharfbuzz liblzma libpng16 libxml2 pango pcre zlib" |
al@20344 | 31 ;; |
al@20344 | 32 libgnomeprint-dev) |
al@20344 | 33 copy @dev |
al@20344 | 34 DEPENDS="libgnomeprint bzip2-dev fontconfig-dev freetype-dev \ |
al@20344 | 35 glib-dev harfbuzz-dev libart_lgpl-dev libffi-dev libpng16-dev \ |
al@20344 | 36 libxml2-dev pango-dev pcre-dev xz-dev zlib-dev" |
al@20344 | 37 ;; |
pascal@20200 | 38 esac |
pankso@37 | 39 } |