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-05-28 22:08:33 +02:00
|
|
|
|
release=2
|
2006-02-23 16:26:10 +01:00
|
|
|
|
source=(http://mirrors.sunsite.dk/gnu/$name/$name-$version.tar.gz \
|
2006-02-23 19:12:46 +01:00
|
|
|
|
$name-$version-001.patch inputrc)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
2006-02-23 19:12:46 +01:00
|
|
|
|
patch -p0 < ../$name-$version-001.patch
|
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
|
|
|
|
|
}
|