CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: fixed AR usage and added ssl support (https)
[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
38b50d66 5# Arch Maintainer System Team devel at crux-arm dot nu
b5d4a1cc
VM
6# Depends on: libpng libtiff xorg-libxft xorg-libxcursor xorg-libxi
7
8name=fox
9version=1.6.36
9e599f38 10release=3
b5d4a1cc
VM
11source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
12
13build() {
14 cd $name-$version
9e599f38 15 export LIBS="$LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11"
b5d4a1cc 16 export XFTCFLAGS="-I$CLFS/usr/include/freetype2"
9e599f38 17 export XFTLIBS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lX11"
9931d284 18 export CXXFLAGS="$CXXFLAGS -I$CLFS/usr/include $XFTCFLAGS"
9931d284 19
b5d4a1cc
VM
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 \
9931d284
VM
29 --disable-nls \
30 --enable-release
b5d4a1cc
VM
31 make
32 make prefix=$PKG/usr install
33 rm -r $PKG/usr/share
34}