CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fox: Initial import (verified compilation)
[attic/ports/opt-cross.git] / fox / Pkgfile
CommitLineData
b5d4a1cc
VM
1# Description: FOX graphical toolkit.
2# URL: http://www.fox-toolkit.org/
3# Packager: Johannes, Schick dot Johannes at gmail dot com
4# Maintainer: Victor Martinez, pitillo at ono dot com
5# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
6# Depends on: libpng libtiff xorg-libxft xorg-libxcursor xorg-libxi
7
8name=fox
9version=1.6.36
10release=1
11source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
12
13build() {
14 cd $name-$version
15 export CPPFLAGS="$CPPFLAGS -I$CLFS/usr/include/freetype2"
16 export LIBS="$LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11 -lz"
17 export XFTCFLAGS="-I$CLFS/usr/include/freetype2"
18 export XFTLIBS="-lXft -lXrender -lfontconfig -lfreetype -lX11"
19 ./configure --build=$CHOST \
20 --host=$CTARGET \
21 --prefix=/usr \
22 --with-shape \
23 --with-xshm \
24 --enable-threadsafe \
25 --enable-release \
26 --with-xcursor \
27 --with-xft \
28 --disable-nls
29 make
30 make prefix=$PKG/usr install
31 rm -r $PKG/usr/share
32}