CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
012299a91b689ed7ec238ead8fd482ae6cd04200
[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 crux-arm at mikeux dot dyndns dot org
6 # Depends on: libpng libtiff xorg-libxft xorg-libxcursor xorg-libxi
7
8 name=fox
9 version=1.6.36
10 release=1
11 source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
12
13 build() {
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 }