wok view fox14/receipt @ rev 24955

updated nano and nano-doc (4.8 -> 6.2)
author Hans-G?nter Theisgen
date Sat Apr 23 16:34:46 2022 +0100 (2022-04-23)
parents 2b9f96603415
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="fox14"
4 SOURCE="fox"
5 VERSION="1.4.35"
6 CATEGORY="x-window"
7 SHORT_DESC="Fox toolkit."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.fox-toolkit.org/"
12 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
13 SUGGESTED="adie calculator pathfinder shutterbug"
15 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa"
16 BUILD_DEPENDS="libpng jpeg tiff xorg-libXft bzlib \
17 xorg-libXrender xorg-libXrender-dev fontconfig fontconfig-dev freetype freetype-dev \
18 libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa libglu-mesa expat-dev libxml2-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WEB_SITE}/download.html 2>/dev/null | \
24 sed '/fox-1\.4/!d;/tar/!d;s|.*fox-||;s|.tar.*||' | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 sed -i 's/(gzFile\*)/(gzFile)/' src/FXGZStream.cpp
32 ./configure LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 --with-xft \
36 $CONFIGURE_ARGS &&
37 make $MAKEFLAGS &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }