CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dbus-glib: Pkgfile, fixed identation and removed noise.
[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
9931d284 10release=2
b5d4a1cc
VM
11source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
12
13build() {
14 cd $name-$version
b5d4a1cc
VM
15 export LIBS="$LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11 -lz"
16 export XFTCFLAGS="-I$CLFS/usr/include/freetype2"
17 export XFTLIBS="-lXft -lXrender -lfontconfig -lfreetype -lX11"
9931d284
VM
18 export CXXFLAGS="$CXXFLAGS -I$CLFS/usr/include $XFTCFLAGS"
19 export X_BASE_LIBS="$X_BASE_LIBS"
20
b5d4a1cc
VM
21 ./configure --build=$CHOST \
22 --host=$CTARGET \
23 --prefix=/usr \
24 --with-shape \
25 --with-xshm \
26 --enable-threadsafe \
27 --enable-release \
28 --with-xcursor \
29 --with-xft \
9931d284
VM
30 --disable-nls \
31 --enable-release
b5d4a1cc
VM
32 make
33 make prefix=$PKG/usr install
34 rm -r $PKG/usr/share
35}