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