wok view fox/receipt @ rev 19008

busybox/fbvnc: wheelmouse support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 28 18:04:41 2016 +0200 (2016-03-28)
parents aaf121138b7d
children a6b0a03ac2ce
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.fox-toolkit.org/"
11 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
12 HOST_ARCH="i486 arm"
14 SUGGESTED="adie calculator pathfinder shutterbug"
15 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa xorg-libXcursor \
16 xorg-libXrandr xorg-libXxf86vm xorg-libXdamage libdrm jbigkit"
17 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \
18 libglu-mesa-dev freetype-dev fontconfig-dev expat-dev libxml2-dev"
20 # Handle SliTaz arch.
21 case "$SLITAZ_ARCH" in
22 arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;;
23 esac
25 # Handle cross compilation.
26 case "$ARCH" in
27 arm)
28 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev"
29 ARCH_ARGS="--with-opengl=no" ;;
30 esac
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./configure \
36 --prefix=/usr \
37 --mandir=/usr/share/man \
38 --with-xft \
39 $CONFIGURE_ARGS $ARCH_ARGS &&
40 make $MAKEFLAGS &&
41 make DESTDIR=$DESTDIR install
42 }
44 testsuite() {
45 readelf -h $install/usr/bin/adie || exit 1
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 }