[arch-commits] Commit in librep/trunk (PKGBUILD rep_file_fdopen.patch)

Ronald van Haren ronald at archlinux.org
Tue Aug 19 07:49:30 EDT 2008


    Date: Tuesday, August 19, 2008 @ 07:49:30
  Author: ronald
Revision: 9834

upgpkg: librep 0.17.1-1
    upkg

Added:
  librep/trunk/rep_file_fdopen.patch
Modified:
  librep/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   21 +++++++++++++++------
 rep_file_fdopen.patch |   10 ++++++++++
 2 files changed, 25 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-19 10:47:25 UTC (rev 9833)
+++ PKGBUILD	2008-08-19 11:49:30 UTC (rev 9834)
@@ -2,21 +2,30 @@
 # Maintainer: dorphell <dorphell at archlinux.org>
 
 pkgname=librep
-pkgver=0.17
+pkgver=0.17.1
 pkgrel=1
 pkgdesc="A Lisp system for UNIX"
-depends=('gmp' 'gdbm' 'bash' 'ncurses=5.6-7')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
-	librep.patch)
+depends=('gmp' 'gdbm' 'bash' 'ncurses>=5.6-7')
+source=(http://www.nanolx.org/free/librep-0.17.1.tar.bz2
+	'librep.patch' 'rep_file_fdopen.patch')
 license=('GPL2')
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/librep"
-md5sums=('ad4ad851ff9f82a5d61024cd96bc2998' '0aea66ba85b3b079db6ad12cf70f7d89')
+options=(!libtool)
+md5sums=('21f3edfa1c03400bdb7068bf0b240b9d'
+         '0aea66ba85b3b079db6ad12cf70f7d89'
+         'ad28e56472f07a05a704ecfc7cf58434')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
   patch -Np1 -i ../librep.patch
-  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname
+  patch -Np1 -i ../rep_file_fdopen.patch
+  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname \
+	--with-readline
   make || return 1
+
+# create some directories or make install fails
+  install -d $pkgdir/usr//{share/aclocal,lib/pkgconfig}
+  
   make DESTDIR=$pkgdir install
 }

Added: rep_file_fdopen.patch
===================================================================
--- rep_file_fdopen.patch	                        (rev 0)
+++ rep_file_fdopen.patch	2008-08-19 11:49:30 UTC (rev 9834)
@@ -0,0 +1,10 @@
+--- librep-0.17.orig/src/librep.sym
++++ librep-0.17/src/librep.sym
+@@ -575,6 +575,7 @@
+ rep_event_loop
+ rep_event_loop_fun
+ rep_expand_and_get_handler
++rep_file_fdopen
+ rep_file_length
+ rep_file_type
+ rep_find_c_symbol




More information about the arch-commits mailing list