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
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
8 name=fox
9 version=1.6.36
10 release=3
11 source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
12
13 build() {
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 }