wok-6.x annotate fltk/receipt @ rev 16084

Some fixes, up ffplay, add more pkgs to ARM
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 00:22:05 2014 +0100 (2014-03-16)
parents a00bf44ed23d
children d67887b74cbb
rev   line source
pankso@627 1 # SliTaz package receipt.
pankso@627 2
pankso@627 3 PACKAGE="fltk"
pankso@16084 4 VERSION="1.3.2"
pankso@627 5 CATEGORY="system-tools"
pankso@627 6 SHORT_DESC="Fast Light Tool Kit (provide fluid)."
pankso@627 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
devl547@11260 9 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
pankso@627 10 WEB_SITE="http://www.fltk.org/"
pankso@16084 11 WGET_URL="http://fltk.org/pub/fltk/$VERSION/$TARBALL"
pankso@16084 12 #HOST_ARCH="i486 arm"
pankso@627 13
pascal@13796 14 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
pascal@13796 15 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa"
pascal@13796 16 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev"
pascal@13796 17
pankso@16084 18 # Handle cross compilation. Host coreutils-file-* are used
pankso@16084 19 case "$ARCH" in
pankso@16084 20 arm) BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev" ;;
pankso@16084 21 esac
pankso@16084 22
pankso@627 23 # Rules to configure and make the package.
pankso@627 24 compile_rules()
pankso@627 25 {
pankso@627 26 ./configure \
pankso@627 27 --enable-shared \
pankso@627 28 --enable-xft \
slaxemulator@6557 29 --enable-threads \
pankso@16084 30 --x-includes=/cross/arm/sysroot/usr/include \
pankso@16084 31 --x-libraries=/cross/arm/sysroot/usr/lib \
pascal@1492 32 $CONFIGURE_ARGS &&
devl547@11260 33 make $MAKEFLAGS &&
pascal@13796 34 make DESTDIR=$DESTDIR install
pankso@627 35 }
pankso@627 36
pankso@627 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@627 38 genpkg_rules()
pankso@627 39 {
pankso@627 40 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
pascal@13796 41 cp -a $install/usr/bin/fluid $fs/usr/bin
pascal@13796 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@627 43 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
pankso@627 44 }