wok annotate fltk/receipt @ rev 6557
Up: fltk, fltk-dev, fltk-doc to 1.1.10. I removed one of the patches since its not need anymore. Added --enable-threads so cinepaint can build.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 19:00:41 2010 +0000 (2010-10-07) |
parents | 9f19aee613be |
children | 6775b1ec2f6f |
rev | line source |
---|---|
pankso@627 | 1 # SliTaz package receipt. |
pankso@627 | 2 |
pankso@627 | 3 PACKAGE="fltk" |
slaxemulator@6557 | 4 VERSION="1.1.10" |
pankso@627 | 5 CATEGORY="system-tools" |
pankso@627 | 6 SHORT_DESC="Fast Light Tool Kit (provide fluid)." |
pankso@627 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6557 | 8 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \ |
pascal@5001 | 9 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base" |
slaxemulator@6557 | 10 BUILD_DEPENDS="xorg-dev jpeg-dev libpng-dev" |
pankso@627 | 11 TARBALL="$PACKAGE-$VERSION-source.tar.bz2" |
pankso@627 | 12 WEB_SITE="http://www.fltk.org/" |
pascal@1492 | 13 WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$TARBALL" |
pankso@627 | 14 |
pankso@627 | 15 # Rules to configure and make the package. |
pankso@627 | 16 compile_rules() |
pankso@627 | 17 { |
pankso@627 | 18 cd $src |
pankso@4243 | 19 patch -p 0 < ../stuff/filename_list-dirent.patch || exit 1 |
pankso@627 | 20 ./configure \ |
pankso@627 | 21 --prefix=/usr \ |
pankso@627 | 22 --mandir=/usr/share/man \ |
pankso@627 | 23 --enable-shared \ |
pankso@627 | 24 --enable-xft \ |
slaxemulator@6557 | 25 --enable-threads \ |
pascal@1492 | 26 $CONFIGURE_ARGS && |
pascal@1492 | 27 make && |
pankso@627 | 28 make DESTDIR=$PWD/_pkg install |
pankso@627 | 29 } |
pankso@627 | 30 |
pankso@627 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@627 | 32 genpkg_rules() |
pankso@627 | 33 { |
pankso@627 | 34 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps |
pankso@627 | 35 cp -a $_pkg/usr/bin/fluid $fs/usr/bin |
pankso@627 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@627 | 37 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png |
pankso@627 | 38 } |