wok-next view fox/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | d67887b74cbb |
children | 43650d7c14eb |
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 xorg-dev \
19 xorg-libxshmfence-dev"
21 # Handle SliTaz arch.
22 case "$SLITAZ_ARCH" in
23 arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;;
24 esac
26 # Handle cross compilation.
27 case "$ARCH" in
28 arm)
29 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev"
30 ARCH_ARGS="--with-opengl=no" ;;
31 esac
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 ./configure \
37 --prefix=/usr \
38 --mandir=/usr/share/man \
39 --with-xft \
40 $CONFIGURE_ARGS $ARCH_ARGS &&
41 make $MAKEFLAGS &&
42 make DESTDIR=$DESTDIR install
43 }
45 testsuite() {
46 readelf -h $install/usr/bin/adie || exit 1
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 }