wok-next view fox/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 835b3b8ce6ac
children 5669e8b3be70
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="devel@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="libpng16-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \
15 glu-dev freetype-dev fontconfig-dev expat-dev libxml2-dev xorg-dev \
16 xorg-libxshmfence-dev"
17 SPLIT="adie calculator $PACKAGE-dev $PACKAGE-doc pathfinder shutterbug"
19 compile_rules() {
20 ./configure \
21 --with-xft \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make $MAKEFLAGS &&
25 make DESTDIR=$install install
26 }
28 testsuite() {
29 readelf -h $install/usr/bin/adie
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 fox)
35 copy libCHART-*.so* libFOX-*.so*
36 SUGGESTED="adie calculator pathfinder shutterbug"
37 DEPENDS="libpng16 jpeg tiff xorg-libXft bzlib mesa glu \
38 xorg-libXcursor xorg-libXrandr xorg-libXxf86vm \
39 xorg-libXdamage libdrm jbigkit"
40 ;;
41 adie)
42 copy adie Adie.stx
43 CAT="x-window|advanced text editor"
44 TAGS="text-editor"
45 DEPENDS="fox"
46 ;;
47 calculator)
48 copy calculator
49 CAT="utilities|calculator"
50 TAGS="calculator"
51 DEPENDS="fox"
52 ;;
53 fox-dev)
54 copy @dev reswrap
55 DEPENDS="fox"
56 ;;
57 fox-doc)
58 copy doc/
59 CAT="misc|documentation"
60 ;;
61 pathfinder)
62 copy PathFinder
63 CAT="x-window|fast and light file manager"
64 TAGS="file-manager"
65 DEPENDS="fox"
66 ;;
67 shutterbug)
68 copy shutterbug
69 CAT="x-window|screenshot application"
70 DEPENDS="fox"
71 ;;
72 esac
73 }