2006-02-23 15:26:10 +00: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 20:37:09 +00:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=readline
|
2006-02-23 18:12:46 +00:00
|
|
|
|
version=5.1
|
2006-08-04 08:07:10 +00:00
|
|
|
|
release=3
|
2006-09-24 09:30:49 +00:00
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
|
2006-08-04 08:07:10 +00:00
|
|
|
|
http://ftp.gnu.org/gnu/readline/readline-5.1-patches/readline51-00{1..4}
|
|
|
|
|
inputrc)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
2006-08-04 08:07:10 +00:00
|
|
|
|
|
|
|
|
|
for p in {1..4}; do
|
|
|
|
|
patch -p0 < $SRC/readline51-00$p
|
|
|
|
|
done
|
2006-02-23 15:26:10 +00:00
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
install -D -m 644 ../inputrc $PKG/etc/inputrc
|
|
|
|
|
rm -rf $PKG/usr/info
|
|
|
|
|
}
|