wok-current annotate fltk-2.0.x/receipt @ rev 4303
Up avidemux (2.5.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 10:21:40 2009 +0200 (2009-09-28) |
parents | 3a3ac96180a9 |
children | 9f19aee613be |
rev | line source |
---|---|
pankso@2794 | 1 # SliTaz package receipt. |
pankso@2794 | 2 |
pankso@2794 | 3 PACKAGE="fltk-2.0.x" |
pankso@2794 | 4 VERSION="r6671" |
pankso@2794 | 5 CATEGORY="system-tools" |
pankso@2794 | 6 SHORT_DESC="Fast Light Tool Kit (provide fluid)." |
pankso@2794 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2794 | 8 DEPENDS="expat fontconfig freetype jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \ |
pankso@2794 | 9 xorg-libXext xorg-libXft xorg-libXrender zlib libpng" |
pankso@2794 | 10 BUILD_DEPENDS="xorg-dev xorg-libXft-dev mesa mesa-dev" |
pankso@2794 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2794 | 12 WEB_SITE="http://www.fltk.org/" |
pankso@2794 | 13 WGET_URL="http://ftp.easysw.com/pub/fltk/snapshots/$TARBALL" |
pankso@2794 | 14 |
pankso@2794 | 15 # Rules to configure and make the package. |
pankso@2794 | 16 compile_rules() |
pankso@2794 | 17 { |
pankso@2794 | 18 cd $src |
pankso@4242 | 19 patch -p 0 < ../stuff/filename_list-dirent.patch || exit 1 |
pankso@2794 | 20 ./configure \ |
pankso@2794 | 21 --prefix=/usr \ |
pankso@2794 | 22 --mandir=/usr/share/man \ |
pankso@2794 | 23 --enable-shared \ |
pankso@2794 | 24 --enable-xft \ |
pankso@2794 | 25 $CONFIGURE_ARGS && |
pankso@2794 | 26 make && |
pankso@2794 | 27 cp -f fltk2-config /usr/bin && |
pankso@2794 | 28 make DESTDIR=$PWD/_pkg install |
pankso@2794 | 29 } |
pankso@2794 | 30 |
pankso@2794 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2794 | 32 genpkg_rules() |
pankso@2794 | 33 { |
pankso@2794 | 34 mkdir -p $fs/usr/lib |
pankso@2794 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2794 | 36 # Remove gl support --> fltk-2.0.x-gl |
pankso@2794 | 37 rm $fs/usr/lib/libfltk2*gl* |
pankso@2794 | 38 } |