wok-next view libgnomeprintui/receipt @ rev 20577

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 03:34:33 2018 +0300 (2018-04-14)
parents d43bf7aae921
children 342b30daff76
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgnomeprintui"
4 VERSION="2.18.6"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print user interface 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="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gnome-icon-theme flex libgnomeprint-dev \
15 xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXcursor-dev \
16 xorg-libXcomposite-dev xorg-libXdamage-dev \
17 libgnomecanvas-dev libart_lgpl-dev intltool"
18 SPLIT="libgnomeprintui-dev"
20 compile_rules() {
21 ./configure \
22 --with-html-dir=/usr/share/doc \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libgnomeprintui)
32 copy @std
33 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
34 libart_lgpl libffi libgnomecanvas libgnomeprint libharfbuzz \
35 liblzma libpng16 libxml2 pango pcre util-linux-blkid \
36 util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \
37 xorg-libXdmcp xorg-libXext xorg-libXinerama xorg-libXrender \
38 xorg-libxcb xorg-pixman zlib"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libgnomeprintui atk-dev bzip2-dev cairo-dev \
43 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev \
44 harfbuzz-dev libart_lgpl-dev libffi-dev libgnomecanvas-dev \
45 libgnomeprint-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
46 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
47 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
48 xorg-libXinerama-dev xorg-libXrender-dev xorg-libxcb-dev \
49 xorg-pixman-dev xz-dev zlib-dev gnome-icon-theme"
50 ;;
51 esac
52 }