CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: updated to 2.2
[attic/ports/opt-cross.git] / dillo / Pkgfile
index 3ba1bd56d6b656bdc00a9e9c2c973173d0749fcf..d2a897421be89b8f635378058a5545b1a078c460 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on: fltk2
 
 name=dillo
-version=2.1.1
+version=2.2
 release=1
 source=(http://www.dillo.org/download/$name-$version.tar.bz2 \
         $name-$version.cross_compile.patch)
@@ -24,6 +24,10 @@ build () {
               --prefix=/usr \
               --mandir=/usr/man
 
+  find -type f -name 'Makefile' \
+    -exec sed -e "s|-I/usr/local|-I$CLFS/usr|g" -e "s|-L/usr/local|-L$CLFS/usr|g" -i {} \;
+
   make
   make DESTDIR=$PKG install
+  rm -rf $PKG/usr/share
 }