CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dialog: initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 14:08:45 +0000 (14:08 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 14:08:45 +0000 (14:08 +0000)
dialog/.md5sum
dialog/Pkgfile

index bda43eed85450157fb41faee9c41a298970b2c36..da46c461a6f788c34c0ccacc051d538c6ad8cc15 100644 (file)
@@ -1 +1 @@
-519c0a0cbac28ddb992111ec2c3f82aa  dialog_1.1-20100428.orig.tar.gz
+3d62219658fdddf3c6247fb45831a5d0  dialog-1.1-20100119.tgz
index 9ba5872ecb112b85d5a8e2f53fa66553c6caa644..f41e0f4f7749952b06a0b4ea6c7c6c9ecee5e5da 100644 (file)
@@ -6,9 +6,9 @@
 # Depends on: ncurses
 
 name=dialog
-version=1.1-20100428
+version=1.1-20100119
 release=1
-source=(ftp://ftp.us.debian.org/debian/pool/main/d/$name/${name}_$version.orig.tar.gz)
+source=(ftp://dickey.his.com/$name/$name-$version.tgz)
 
 build () {
   cd $name-$version
@@ -16,6 +16,10 @@ build () {
               --host=$CTARGET \
               --prefix=/usr \
               --with-ncursesw
+
+  find -type f -name 'makefile' \
+    -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -e "s|-L/usr|-L$CLFS/usr|g" -i {} \;
+
   make
   make DESTDIR=$PKG install
 }