wok-next view fox14/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 30af4e7aa239 |
children | d958fec46c9f |
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="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.fox-toolkit.org/"
11 TARBALL="fox-$VERSION.tar.gz"
12 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
14 BUILD_DEPENDS="bzlib xorg-libXrender xorg-libXrender-dev fontconfig-dev \
15 freetype-dev libpng12-dev jpeg-dev tiff-dev xorg-libXft-dev mesa glu expat-dev \
16 libxml2-dev"
17 SPLIT="fox14-dev"
19 compile_rules() {
20 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/fxpngio.cpp
21 sed -i 's/(gzFile\*)/(gzFile)/' src/FXGZStream.cpp
23 ./configure \
24 LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \
25 --with-xft \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$DESTDIR install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 fox14)
35 copy @std
36 DEPENDS="libpng12 jpeg tiff xorg-libXft bzlib mesa glu"
37 SUGGESTED="adie calculator pathfinder shutterbug"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="fox xorg-libX11-dev"
42 ;;
43 esac
44 }