core/readline/Pkgfile

24 lines
646 B
Plaintext
Raw Normal View History

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
# 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
release=3
2006-02-23 16:26:10 +01:00
source=(http://mirrors.sunsite.dk/gnu/$name/$name-$version.tar.gz \
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
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
}