wok-next view fox14/receipt @ rev 20891
cookutils: up (1085); syslinux: remove docs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 19 18:27:17 2018 +0300 (2018-07-19) |
parents | 835b3b8ce6ac |
children | d5aab818505e |
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/"
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="fox14-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=$DESTDIR 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 }