wok-next view fox14/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d958fec46c9f
children 5669e8b3be70
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 xorg-libXrender xorg-libXrender-dev fontconfig-dev \
16 freetype-dev libpng12-dev jpeg-dev tiff-dev xorg-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 tiff xorg-libXft bzlib mesa glu"
38 SUGGESTED="adie calculator pathfinder shutterbug"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="fox xorg-libX11-dev"
43 ;;
44 esac
45 }