wok-next view libgtkhtml/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | bce36a298f1e |
children | c3a368c0cddb |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgtkhtml"
4 VERSION="2.11.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A gtk-based HTML rendering/editing library."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://freshmeat.net/projects/libgtkhtml/"
11 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="glibc-base glib expat libxml2 zlib \
14 gtk+ cairo atk fontconfig freetype pango xorg-pixman libpng16 \
15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXcursor \
16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
17 BUILD_DEPENDS="pkg-config libxml2-dev gtk+-dev xorg-libXdamage-dev expat-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }