CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openbox: initial import (verified compilation)
[attic/ports/opt-cross.git] / fox / Pkgfile
... / ...
CommitLineData
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 devel at crux-arm dot nu
6# Depends on: libpng libtiff xorg-libxft xorg-libxcursor xorg-libxi
7
8name=fox
9version=1.6.36
10release=3
11source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
12
13build() {
14 cd $name-$version
15 export LIBS="$LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11"
16 export XFTCFLAGS="-I$CLFS/usr/include/freetype2"
17 export XFTLIBS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lX11"
18 export CXXFLAGS="$CXXFLAGS -I$CLFS/usr/include $XFTCFLAGS"
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --with-shape \
24 --with-xshm \
25 --enable-threadsafe \
26 --enable-release \
27 --with-xcursor \
28 --with-xft \
29 --disable-nls \
30 --enable-release
31 make
32 make prefix=$PKG/usr install
33 rm -r $PKG/usr/share
34}