wok view fltk/receipt @ rev 19442
Up fltk (1.3.3) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 14 09:34:02 2016 +0200 (2016-10-14) |
parents | 9e2e108fff96 |
children | e1759a3c14ec |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk"
4 VERSION="1.3.3"
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 gcc-lib-base mesa libglu-mesa"
16 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev \
17 xorg-libXinerama-dev"
19 # Handle SliTaz arch
20 case "$SLITAZ_ARCH" in
21 arm*) DEPENDS="expat fontconfig freetype jpeg libpng xorg-libXft" ;;
22 esac
24 # Handle cross compilation.
25 case "$ARCH" in
26 #i?86)
27 # ARCH_ARGS="--with-archflags=i386" ;;
28 arm)
29 BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev"
30 ARCH_ARGS="--x-includes=/cross/$ARCH/sysroot/usr/include \
31 --x-libraries=/cross/$ARCH/sysroot/usr/lib" ;;
32 esac
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 ./configure ${ARCH_ARGS} \
38 --enable-shared \
39 --enable-xft \
40 --enable-threads \
41 $CONFIGURE_ARGS &&
42 make lib $MAKEFLAGS &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
50 cp -a $install/usr/bin/fluid $fs/usr/bin
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
53 }