wok-4.x annotate libfox/receipt @ rev 6226

Up: lcms, lcms-apps, lcms to 0.19.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 23:25:46 2010 +0000 (2010-09-11)
parents 8752c40cc534
children
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="libfox"
pascal@1136 4 SOURCE="fox"
pascal@1136 5 VERSION="1.6.33"
pascal@1136 6 CATEGORY="x-window"
pascal@1136 7 SHORT_DESC="FOX is a C++ based Toolkit for developing Graphical User Interfaces easily and effectively."
pascal@1136 8 MAINTAINER="chadi.elahmad@gmail.com"
pascal@1136 9
pascal@1136 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1136 11 WEB_SITE="http://www.fox-toolkit.org/"
pascal@1136 12 WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL"
pascal@1136 13
pascal@2478 14 DEPENDS="libpng jpeg zlib bzlib expat tiff
pascal@1136 15 xorg-libX11 xorg-libXau xorg-libXdmcp
pascal@1136 16 xorg-libXft xorg-libXrender
pascal@1136 17 freetype fontconfig
pascal@1136 18 xorg-libXcursor xorg-libXfixes
pascal@5003 19 xorg-libXrandr xorg-libXext gcc-lib-base"
pascal@1136 20
pascal@1136 21
pascal@1136 22 # BUILD_DEPENDS :
pascal@1136 23 # Configure and compile : pkg-config expat-dev
pascal@1136 24 # Important utils : libpng-dev jpeg-dev tiff-dev zlib-dev bzip2-dev
pascal@1136 25 # Base X libs : xorg-libX11-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev
pascal@1136 26 # Anti-aliasing, otherwise it looks ugly : xorg-libXft-dev xorg-libXrender-dev xorg-renderproto xorg-kbproto
pascal@1136 27 # Dependency to xft : freetype-dev fontconfig-dev
pascal@1136 28 # Printing support : cups-dev
pascal@1136 29 # Xcursor support : xorg-libXcursor-dev xorg-libXfixes-dev xorg-fixesproto
pascal@1136 30 # Xrandr and Xshape support : xorg-libXrandr-dev xorg-randrproto xorg-libXext-dev xorg-xextproto "
pascal@1136 31 # OpenGL : Still not done
pascal@1136 32
pascal@1136 33 BUILD_DEPENDS="
pascal@1136 34 pkg-config expat-dev
pascal@1136 35 libpng-dev jpeg-dev zlib-dev bzip2-dev
pascal@1136 36 xorg-libX11-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev
pascal@1136 37 xorg-libXft-dev xorg-libXrender-dev xorg-renderproto xorg-kbproto
pascal@1136 38 freetype-dev fontconfig-dev
pascal@1136 39 cups-dev
pascal@1136 40 xorg-libXcursor-dev xorg-libXfixes-dev xorg-fixesproto
pascal@1136 41 xorg-libXrandr-dev xorg-randrproto xorg-libXext-dev xorg-xextproto "
pascal@1136 42
pascal@1136 43 # Rules to configure and make the package.
pascal@1136 44 compile_rules()
pascal@1136 45 {
pascal@1136 46 cd $src
pascal@1136 47 ./configure \
pascal@1136 48 --prefix=/usr \
pascal@1136 49 --mandir=/usr/share/man \
pascal@1136 50 --infodir=/usr/share/info \
pascal@1136 51 --with-x=yes --with-xft=yes --with-cups=yes \
pascal@1136 52 --with-xcursor=yes --with-xrandr=yes --with-shape=yes \
pascal@1136 53 --with-opengl=no --with-xshm=no --with-xim=no --with-profiling=no \
pascal@1136 54 --enable-release --disable-static \
pascal@2478 55 $CONFIGURE_ARGS &&
pascal@5781 56 make -j 4 &&
pascal@1136 57 make DESTDIR=$PWD/_pkg install
pascal@1136 58 }
pascal@1136 59
pascal@1136 60 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 61 genpkg_rules()
pascal@1136 62 {
pascal@1136 63 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@1136 64 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1136 65 cp -a $_pkg/usr/bin/fox-config $fs/usr/bin
pascal@1136 66 chmod +x $fs/usr/bin/*
pascal@1136 67 }