wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk"
4 VERSION="1.3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast Light Tool Kit (provide fluid)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
10 WEB_SITE="http://www.fltk.org/"
11 WGET_URL="http://fltk.org/pub/fltk/$VERSION/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
15 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa"
16 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev"
18 # Handle cross compilation. Host coreutils-file-* are used
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --enable-shared \
28 --enable-xft \
29 --enable-threads \
30 --x-includes=/cross/arm/sysroot/usr/include \
31 --x-libraries=/cross/arm/sysroot/usr/lib \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
41 cp -a $install/usr/bin/fluid $fs/usr/bin
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
44 }