wok-current annotate fltk/receipt @ rev 15019

h8300-gcc3: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 17:30:33 2013 +0000 (2013-08-11)
parents 6b09507225ec
children 53082fab5f1e
rev   line source
pankso@627 1 # SliTaz package receipt.
pankso@627 2
pankso@627 3 PACKAGE="fltk"
devl547@11260 4 VERSION="1.3.0"
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/"
pascal@1492 11 WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$TARBALL"
pankso@627 12
pascal@13796 13 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
pascal@13796 14 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa"
pascal@13796 15 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev"
pascal@13796 16
pankso@627 17 # Rules to configure and make the package.
pankso@627 18 compile_rules()
pankso@627 19 {
pankso@627 20 cd $src
pankso@627 21 ./configure \
pankso@627 22 --prefix=/usr \
pankso@627 23 --mandir=/usr/share/man \
pankso@627 24 --enable-shared \
pankso@627 25 --enable-xft \
slaxemulator@6557 26 --enable-threads \
pascal@1492 27 $CONFIGURE_ARGS &&
devl547@11260 28 make $MAKEFLAGS &&
pascal@13796 29 make DESTDIR=$DESTDIR install
pankso@627 30 }
pankso@627 31
pankso@627 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@627 33 genpkg_rules()
pankso@627 34 {
pankso@627 35 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
pascal@13796 36 cp -a $install/usr/bin/fluid $fs/usr/bin
pascal@13796 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@627 38 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
pankso@627 39 }