wok-next view fox/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 | d43bf7aae921 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fox"
4 VERSION="1.6.49"
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="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
14 BUILD_DEPENDS_arm="jpeg-dev libpng16-dev tiff-dev xorg-libXft-dev"
15 BUILD_DEPENDS="libpng16-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \
16 glu-dev freetype-dev fontconfig-dev expat-dev libxml2-dev xorg-dev \
17 xorg-libxshmfence-dev"
18 SPLIT="adie calculator fox-dev fox-doc pathfinder shutterbug"
20 compile_rules() {
21 case "$ARCH" in
22 arm) ARCH_ARGS="--with-opengl=no";;
23 esac
25 ./configure \
26 --with-xft \
27 $CONFIGURE_ARGS $ARCH_ARGS &&
28 fix libtool &&
29 make $MAKEFLAGS &&
30 make DESTDIR=$DESTDIR install
31 }
33 testsuite() {
34 readelf -h $install/usr/bin/adie || exit 1
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 fox)
40 copy libCHART-*.so* libFOX-*.so*
41 SUGGESTED="adie calculator pathfinder shutterbug"
42 DEPENDS="libpng16 jpeg tiff xorg-libXft bzlib mesa glu \
43 xorg-libXcursor xorg-libXrandr xorg-libXxf86vm \
44 xorg-libXdamage libdrm jbigkit"
45 ;;
46 adie)
47 copy adie Adie.stx
48 CAT="x-window|advanced text editor"
49 TAGS="text-editor"
50 DEPENDS="fox"
51 ;;
52 calculator)
53 copy calculator
54 CAT="utilities|calculator"
55 TAGS="calculator"
56 DEPENDS="fox"
57 ;;
58 fox-dev)
59 copy @dev reswrap
60 DEPENDS="fox"
61 ;;
62 fox-doc)
63 copy doc/
64 CAT="misc|documentation"
65 ;;
66 pathfinder)
67 copy PathFinder
68 CAT="x-window|fast and light file manager"
69 TAGS="file-manager"
70 DEPENDS="fox"
71 ;;
72 shutterbug)
73 copy shutterbug
74 CAT="x-window|screenshot application"
75 DEPENDS="fox"
76 ;;
77 esac
78 }