wok-6.x diff libfox/receipt @ rev 1814

Up: ntfs-3g to 1.5130
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Dec 05 15:01:28 2008 +0100 (2008-12-05)
parents
children 2ddc861c6696
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libfox/receipt	Fri Dec 05 15:01:28 2008 +0100
     1.3 @@ -0,0 +1,67 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libfox"
     1.7 +SOURCE="fox"
     1.8 +VERSION="1.6.33"
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="FOX is a C++ based Toolkit for developing Graphical User Interfaces easily and effectively."
    1.11 +MAINTAINER="chadi.elahmad@gmail.com"
    1.12 +
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.fox-toolkit.org/"
    1.15 +WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libpng jpeg zlib bzlib 
    1.18 +xorg-libX11 xorg-libXau xorg-libXdmcp 
    1.19 +xorg-libXft xorg-libXrender 
    1.20 +freetype fontconfig 
    1.21 +xorg-libXcursor xorg-libXfixes 
    1.22 +xorg-libXrandr xorg-libXext "
    1.23 +
    1.24 +
    1.25 +# BUILD_DEPENDS :
    1.26 +# Configure and compile : pkg-config expat-dev 
    1.27 +# Important utils : libpng-dev jpeg-dev tiff-dev zlib-dev bzip2-dev 
    1.28 +# Base X libs : xorg-libX11-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev 
    1.29 +# Anti-aliasing, otherwise it looks ugly : xorg-libXft-dev xorg-libXrender-dev xorg-renderproto xorg-kbproto 
    1.30 +# Dependency to xft : freetype-dev fontconfig-dev 
    1.31 +# Printing  support : cups-dev 
    1.32 +# Xcursor support : xorg-libXcursor-dev xorg-libXfixes-dev xorg-fixesproto 
    1.33 +# Xrandr and Xshape support : xorg-libXrandr-dev xorg-randrproto xorg-libXext-dev xorg-xextproto "
    1.34 +# OpenGL : Still not done
    1.35 +
    1.36 +BUILD_DEPENDS=" 
    1.37 +pkg-config expat-dev 
    1.38 +libpng-dev jpeg-dev zlib-dev bzip2-dev 
    1.39 +xorg-libX11-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev 
    1.40 +xorg-libXft-dev xorg-libXrender-dev xorg-renderproto xorg-kbproto 
    1.41 +freetype-dev fontconfig-dev 
    1.42 +cups-dev 
    1.43 +xorg-libXcursor-dev xorg-libXfixes-dev xorg-fixesproto 
    1.44 +xorg-libXrandr-dev xorg-randrproto xorg-libXext-dev xorg-xextproto "
    1.45 +
    1.46 +# Rules to configure and make the package.
    1.47 +compile_rules()
    1.48 +{
    1.49 +	cd $src
    1.50 +	./configure \
    1.51 +		--prefix=/usr \
    1.52 +		--mandir=/usr/share/man \
    1.53 +		--infodir=/usr/share/info \
    1.54 +		--with-x=yes --with-xft=yes --with-cups=yes \
    1.55 +		--with-xcursor=yes --with-xrandr=yes --with-shape=yes \
    1.56 +		--with-opengl=no --with-xshm=no --with-xim=no --with-profiling=no \
    1.57 +		--enable-release --disable-static \
    1.58 +		$CONFIGURE_ARGS
    1.59 +	make
    1.60 +	make DESTDIR=$PWD/_pkg install
    1.61 +}
    1.62 +
    1.63 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.64 +genpkg_rules()
    1.65 +{
    1.66 +	mkdir -p $fs/usr/lib $fs/usr/bin
    1.67 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.68 +	cp -a $_pkg/usr/bin/fox-config $fs/usr/bin
    1.69 +	chmod +x $fs/usr/bin/*
    1.70 +}