wok view fox/receipt @ rev 23492
python-bcrypt: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 06:26:59 2020 +0100 (2020-04-06) |
parents | a6b0a03ac2ce |
children | bfabe25c21ff |
line source
1 # SliTaz package receipt.
3 PACKAGE="fox"
4 VERSION="1.6.57"
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="ftp://ftp.fox-toolkit.org/pub/$TARBALL"
14 SUGGESTED="adie calculator pathfinder shutterbug"
15 DEPENDS="bzlib jbigkit jpeg libdrm libglu-mesa libpng mesa tiff
16 xorg-libXcursor xorg-libXdamage xorg-libXft xorg-libXrandr
17 xorg-libXxf86vm"
18 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev jpeg-dev
19 libglu-mesa-dev libpng-dev libxml2-dev mesa-dev
20 tiff-dev xorg-libXft-dev"
22 HOST_ARCH="i486 arm"
24 # Handle SliTaz arch.
25 case "$SLITAZ_ARCH" in
26 arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;;
27 esac
29 # Handle cross compilation.
30 case "$ARCH" in
31 arm)
32 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev"
33 ARCH_ARGS="--with-opengl=no" ;;
34 esac
36 # Rules to configure and make the package.
37 compile_rules()
38 {
39 ./configure \
40 --prefix=/usr \
41 --mandir=/usr/share/man \
42 --with-xft \
43 $CONFIGURE_ARGS \
44 $ARCH_ARGS &&
45 make $MAKEFLAGS &&
46 make DESTDIR=$DESTDIR install
47 }
49 testsuite()
50 {
51 readelf -h $install/usr/bin/adie || exit 1
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib
58 cp -a $install/usr/lib/*.so* $fs/usr/lib
59 }