wok-6.x annotate fltk/receipt @ rev 11260
Up: fltk (1.3.0) and dillo (3.0.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Nov 07 21:01:36 2011 +0000 (2011-11-07) |
parents | d1768332cee0 |
children | 6b09507225ec |
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" |
slaxemulator@6557 | 8 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \ |
slaxemulator@6559 | 9 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa" |
slaxemulator@8960 | 10 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa mesa mesa-dev" |
devl547@11260 | 11 TARBALL="$PACKAGE-$VERSION-source.tar.gz" |
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@627 | 19 ./configure \ |
pankso@627 | 20 --prefix=/usr \ |
pankso@627 | 21 --mandir=/usr/share/man \ |
pankso@627 | 22 --enable-shared \ |
pankso@627 | 23 --enable-xft \ |
slaxemulator@6557 | 24 --enable-threads \ |
pascal@1492 | 25 $CONFIGURE_ARGS && |
devl547@11260 | 26 make $MAKEFLAGS && |
pankso@627 | 27 make DESTDIR=$PWD/_pkg install |
pankso@627 | 28 } |
pankso@627 | 29 |
pankso@627 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@627 | 31 genpkg_rules() |
pankso@627 | 32 { |
pankso@627 | 33 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps |
pankso@627 | 34 cp -a $_pkg/usr/bin/fluid $fs/usr/bin |
pankso@627 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@627 | 36 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png |
pankso@627 | 37 } |