CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fox: Fixed vars and added release option.
authorVictor Martinez <pitillo@ono.com>
Thu, 14 Jan 2010 15:40:42 +0000 (15:40 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 14 Jan 2010 15:40:42 +0000 (15:40 +0000)
fox/Pkgfile

index 012299a91b689ed7ec238ead8fd482ae6cd04200..8530fecf25fec0cbe4498e6ae51d21b7166d1357 100644 (file)
@@ -7,15 +7,17 @@
 
 name=fox
 version=1.6.36
-release=1
+release=2
 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 XFTCFLAGS="-I$CLFS/usr/include/freetype2"
   export XFTLIBS="-lXft -lXrender -lfontconfig -lfreetype -lX11"
+  export CXXFLAGS="$CXXFLAGS -I$CLFS/usr/include $XFTCFLAGS"
+  export X_BASE_LIBS="$X_BASE_LIBS"
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
@@ -25,7 +27,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