wok-stable diff fltk-2.0.x/receipt @ rev 3322

add file-dev | need magic.h for splashy
author Allan Pinto <allan316@gmail.com>
date Tue Jun 09 18:38:41 2009 +0000 (2009-06-09)
parents
children da1f31fbbf36
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fltk-2.0.x/receipt	Tue Jun 09 18:38:41 2009 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fltk-2.0.x"
     1.7 +VERSION="r6671"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Fast Light Tool Kit (provide fluid)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="expat fontconfig freetype jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.12 +xorg-libXext xorg-libXft xorg-libXrender zlib libpng"
    1.13 +BUILD_DEPENDS="xorg-dev xorg-libXft-dev mesa mesa-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.fltk.org/"
    1.16 +WGET_URL="http://ftp.easysw.com/pub/fltk/snapshots/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		--enable-shared \
    1.26 +		--enable-xft \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	cp -f fltk2-config /usr/bin &&
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.38 +	# Remove gl support --> fltk-2.0.x-gl
    1.39 +	rm $fs/usr/lib/libfltk2*gl*
    1.40 +}