wok-next view fox14/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents 5669e8b3be70
children d635206a5649
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fox14"
4 VERSION="1.4.35"
5 CATEGORY="x-window"
6 SHORT_DESC="Fox toolkit"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.fox-toolkit.org/"
10 REPOLOGY="fox"
12 TARBALL="fox-$VERSION.tar.gz"
13 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
15 BUILD_DEPENDS="bzlib libxrender-dev fontconfig-dev \
16 freetype-dev libpng12-dev jpeg-dev tiff-dev libxft-dev mesa glu expat-dev \
17 libxml2-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/fxpngio.cpp
22 sed -i 's/(gzFile\*)/(gzFile)/' src/FXGZStream.cpp
24 ./configure \
25 LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \
26 --with-xft \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make $MAKEFLAGS &&
30 make DESTDIR=$install install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 fox14)
36 copy @std
37 DEPENDS="libpng12 jpeg libtiff libxft bzlib mesa glu"
38 SUGGESTED="adie calculator pathfinder shutterbug"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="fox libx11-dev"
43 ;;
44 esac
45 }