2006-02-23 16:26:10 +01:00
|
|
|
|
# Description: Lets users edit command lines as they are typed in
|
|
|
|
|
# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
|
2006-04-20 22:37:09 +02:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
|
|
name=readline
|
2006-02-23 19:12:46 +01:00
|
|
|
|
version=5.1
|
2006-08-04 10:07:10 +02:00
|
|
|
|
release=3
|
2006-09-24 11:30:49 +02:00
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
|
2006-08-04 10:07:10 +02:00
|
|
|
|
http://ftp.gnu.org/gnu/readline/readline-5.1-patches/readline51-00{1..4}
|
|
|
|
|
inputrc)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
2006-08-04 10:07:10 +02:00
|
|
|
|
|
|
|
|
|
for p in {1..4}; do
|
|
|
|
|
patch -p0 < $SRC/readline51-00$p
|
|
|
|
|
done
|
2006-02-23 16:26:10 +01:00
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
install -D -m 644 ../inputrc $PKG/etc/inputrc
|
|
|
|
|
rm -rf $PKG/usr/info
|
|
|
|
|
}
|