summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2010-03-06 18:13:37 +0100
committerJuergen Daubert <jue@jue.li>2010-03-06 18:13:37 +0100
commit606496d70abd777cc1fc8e170152d3dbca73cc5f (patch)
tree1a2d53d945dd510cf7790fe0d9c56bcfd82e924a /readline
parentee847c6ee4e78ba5ceabacb05f8b5d286db86e49 (diff)
downloadcore-606496d70abd777cc1fc8e170152d3dbca73cc5f.tar.gz
core-606496d70abd777cc1fc8e170152d3dbca73cc5f.tar.xz
readline: update to 6.1.2
Note: to avoid errors like the one described in [1] readline is now explicit linked against ncurses. [1] http://lists.samba.org/archive/samba/2010-January/153242.html
Diffstat (limited to 'readline')
-rw-r--r--readline/.md5sum1
-rw-r--r--readline/Pkgfile17
2 files changed, 12 insertions, 6 deletions
diff --git a/readline/.md5sum b/readline/.md5sum
index 3403c003..c4d5ab54 100644
--- a/readline/.md5sum
+++ b/readline/.md5sum
@@ -1,2 +1,3 @@
553cf04fdeec54dca12062864c3ffba3 inputrc
+d2bab3b49b2cc4d9239cf04e809abb18 readline-6.1-001-002.patch.gz
fc2f7e714fe792db1ce6ddc4c9fb4ef3 readline-6.1.tar.gz
diff --git a/readline/Pkgfile b/readline/Pkgfile
index 202bc8d4..a51abde1 100644
--- a/readline/Pkgfile
+++ b/readline/Pkgfile
@@ -1,18 +1,23 @@
# Description: Lets users edit command lines as they are typed in
# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: ncurses
name=readline
-version=6.1
-release=2
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
- inputrc)
+version=6.1.2
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-6.1.tar.gz \
+ $name-6.1-001-002.patch.gz inputrc)
build() {
- cd $name-$version
+ cd $name-6.1
+
+ gunzip -c $SRC/$name-6.1-001-002.patch.gz | patch -p0
+
./configure --prefix=/usr --mandir=/usr/man
- make
+ make SHLIB_LIBS=-lncurses
make DESTDIR=$PKG install
+
install -D -m 644 $SRC/inputrc $PKG/etc/inputrc
rm -r $PKG/usr/share/info
}

Generated by cgit