CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
enchant: initial import (verified compilation).
[attic/ports/opt-cross.git] / fox / Pkgfile
index 012299a91b689ed7ec238ead8fd482ae6cd04200..e9b7a06da49e5209ec2f26066e79632018e33f52 100644 (file)
@@ -2,20 +2,21 @@
 # URL: http://www.fox-toolkit.org/
 # Packager: Johannes, Schick dot Johannes at gmail dot com
 # Maintainer: Victor Martinez, pitillo at ono dot com
-# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer System Team devel at crux-arm dot nu
 # Depends on: libpng libtiff xorg-libxft xorg-libxcursor xorg-libxi
 
 name=fox
 version=1.6.36
-release=1
+release=3
 source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
-  export CPPFLAGS="$CPPFLAGS -I$CLFS/usr/include/freetype2"
-  export LIBS="$LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11 -lz"
+  export LIBS="$LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11"
   export XFTCFLAGS="-I$CLFS/usr/include/freetype2"
-  export XFTLIBS="-lXft -lXrender -lfontconfig -lfreetype -lX11"
+  export XFTLIBS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lX11"
+  export CXXFLAGS="$CXXFLAGS -I$CLFS/usr/include $XFTCFLAGS"
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
@@ -25,7 +26,8 @@ build() {
               --enable-release \
               --with-xcursor \
               --with-xft \
-              --disable-nls
+              --disable-nls \
+              --enable-release 
   make
   make prefix=$PKG/usr install
   rm -r $PKG/usr/share