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