wok-next view fox/receipt @ rev 21119

libarchive: depends on libzstd
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 14 03:39:08 2019 +0200 (2019-01-14)
parents 75632eca5b07
children 80b5b0ec38b7
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="libpng-dev jpeg-dev tiff-dev libxft-dev mesa-dev \
15 glu-dev freetype-dev fontconfig-dev expat-dev libxml2-dev xorg-dev \
16 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="libpng jpeg libtiff libxft libbzip2 mesa glu \
38 libxcursor libxrandr libxxf86vm \
39 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 }