wok-next view libgnomeprint/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | d43bf7aae921 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgnomeprint"
4 VERSION="2.18.8"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev pango-dev intltool flex libart_lgpl-dev libxml2-dev"
15 SPLIT="libgnomeprint-dev"
17 compile_rules() {
18 ./configure \
19 --with-html-dir=/usr/share/doc \
20 --without-cups \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgnomeprint)
30 copy @std
31 DEPENDS="bzlib fontconfig freetype glib libart_lgpl libffi \
32 libharfbuzz liblzma libpng16 libxml2 pango pcre zlib"
33 ;;
34 libgnomeprint-dev)
35 copy @dev
36 DEPENDS="libgnomeprint bzip2-dev fontconfig-dev freetype-dev \
37 glib-dev harfbuzz-dev libart_lgpl-dev libffi-dev libpng16-dev \
38 libxml2-dev pango-dev pcre-dev xz-dev zlib-dev"
39 ;;
40 esac
41 }