wok-current rev 2794
Add FLTK 2.0.x (Fast Light Tool Kit devel branch)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 28 15:37:11 2009 +0200 (2009-04-28) |
parents | 25e257d707de |
children | 1ac0ba1a2795 |
files | fltk-2.0.x-dev/receipt fltk-2.0.x-fluid2/receipt fltk-2.0.x-gl/receipt fltk-2.0.x/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fltk-2.0.x-dev/receipt Tue Apr 28 15:37:11 2009 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fltk-2.0.x-dev" 1.7 +VERSION="r6671" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Fast Light Tool Kit devel files (FLZK 2.0)." 1.10 +WANTED="fltk-2.0.x" 1.11 +DEPENDS="fltk-2.0.x" 1.12 +MAINTAINER="pankso@slitaz.org" 1.13 +WEB_SITE="http://www.fltk.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/bin $fs/usr/lib 1.19 + cp -a $_pkg/usr/bin/fltk2-config $fs/usr/bin 1.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $_pkg/usr/include $fs/usr 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/fltk-2.0.x-fluid2/receipt Tue Apr 28 15:37:11 2009 +0200 2.3 @@ -0,0 +1,17 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="fltk-2.0.x-fluid2" 2.7 +VERSION="r6671" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Fast Light Tool Kit designer 2.0 serie." 2.10 +WANTED="fltk-2.0.x" 2.11 +DEPENDS="fltk-2.0.x" 2.12 +MAINTAINER="pankso@slitaz.org" 2.13 +WEB_SITE="http://www.fltk.org/" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + mkdir -p $fs/usr/bin 2.19 + cp -a $_pkg/usr/bin/fluid2 $fs/usr/bin 2.20 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/fltk-2.0.x-gl/receipt Tue Apr 28 15:37:11 2009 +0200 3.3 @@ -0,0 +1,17 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="fltk-2.0.x-gl" 3.7 +VERSION="r6671" 3.8 +CATEGORY="x-window" 3.9 +SHORT_DESC="Fast Light Tool Kit GL library." 3.10 +WANTED="fltk-2.0.x" 3.11 +DEPENDS="mesa" 3.12 +MAINTAINER="pankso@slitaz.org" 3.13 +WEB_SITE="http://www.fltk.org/" 3.14 + 3.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 +genpkg_rules() 3.17 +{ 3.18 + mkdir -p $fs/usr/lib 3.19 + cp -a $_pkg/usr/lib/libfltk2*gl*.so* $fs/usr/lib 3.20 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/fltk-2.0.x/receipt Tue Apr 28 15:37:11 2009 +0200 4.3 @@ -0,0 +1,37 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="fltk-2.0.x" 4.7 +VERSION="r6671" 4.8 +CATEGORY="system-tools" 4.9 +SHORT_DESC="Fast Light Tool Kit (provide fluid)." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +DEPENDS="expat fontconfig freetype jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \ 4.12 +xorg-libXext xorg-libXft xorg-libXrender zlib libpng" 4.13 +BUILD_DEPENDS="xorg-dev xorg-libXft-dev mesa mesa-dev" 4.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.15 +WEB_SITE="http://www.fltk.org/" 4.16 +WGET_URL="http://ftp.easysw.com/pub/fltk/snapshots/$TARBALL" 4.17 + 4.18 +# Rules to configure and make the package. 4.19 +compile_rules() 4.20 +{ 4.21 + cd $src 4.22 + ./configure \ 4.23 + --prefix=/usr \ 4.24 + --mandir=/usr/share/man \ 4.25 + --enable-shared \ 4.26 + --enable-xft \ 4.27 + $CONFIGURE_ARGS && 4.28 + make && 4.29 + cp -f fltk2-config /usr/bin && 4.30 + make DESTDIR=$PWD/_pkg install 4.31 +} 4.32 + 4.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.34 +genpkg_rules() 4.35 +{ 4.36 + mkdir -p $fs/usr/lib 4.37 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 4.38 + # Remove gl support --> fltk-2.0.x-gl 4.39 + rm $fs/usr/lib/libfltk2*gl* 4.40 +}