wok annotate fox/receipt @ rev 19728

libt4k_common, openbox-imlib2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 17 07:56:36 2017 +0100 (2017-02-17)
parents aaf121138b7d
children a6b0a03ac2ce
rev   line source
pankso@2779 1 # SliTaz package receipt.
pankso@2779 2
pankso@2779 3 PACKAGE="fox"
slaxemulator@15838 4 VERSION="1.6.49"
pankso@2779 5 CATEGORY="x-window"
pankso@2779 6 SHORT_DESC="Fox toolkit."
pankso@2779 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
pankso@2779 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@2779 10 WEB_SITE="http://www.fox-toolkit.org/"
pascal@12724 11 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
pankso@16085 12 HOST_ARCH="i486 arm"
pankso@2779 13
pankso@16085 14 SUGGESTED="adie calculator pathfinder shutterbug"
pascal@13796 15 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa xorg-libXcursor \
pascal@13796 16 xorg-libXrandr xorg-libXxf86vm xorg-libXdamage libdrm jbigkit"
pankso@16085 17 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \
pascal@14997 18 libglu-mesa-dev freetype-dev fontconfig-dev expat-dev libxml2-dev"
pascal@13796 19
pankso@16085 20 # Handle SliTaz arch.
pankso@16085 21 case "$SLITAZ_ARCH" in
pankso@16085 22 arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;;
pankso@16085 23 esac
pankso@16085 24
pankso@16085 25 # Handle cross compilation.
pankso@16085 26 case "$ARCH" in
pankso@16085 27 arm)
pankso@16085 28 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev"
pankso@16085 29 ARCH_ARGS="--with-opengl=no" ;;
pankso@16085 30 esac
pankso@16085 31
pankso@2779 32 # Rules to configure and make the package.
pankso@2779 33 compile_rules()
pankso@2779 34 {
pankso@2779 35 ./configure \
pankso@2779 36 --prefix=/usr \
pankso@2779 37 --mandir=/usr/share/man \
pankso@2779 38 --with-xft \
pankso@16085 39 $CONFIGURE_ARGS $ARCH_ARGS &&
gokhlayeh@11574 40 make $MAKEFLAGS &&
pascal@13812 41 make DESTDIR=$DESTDIR install
pankso@2779 42 }
pankso@2779 43
pankso@16085 44 testsuite() {
pankso@16085 45 readelf -h $install/usr/bin/adie || exit 1
pankso@16085 46 }
pankso@16085 47
pankso@2779 48 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2779 49 genpkg_rules()
pankso@2779 50 {
pankso@2779 51 mkdir -p $fs/usr/lib
pascal@13796 52 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2779 53 }