core/readline/Pkgfile

20 lines
543 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 <per@fukt.bth.se>
name=readline
2006-02-23 19:12:46 +01:00
version=5.1
2006-02-23 16:26:10 +01:00
release=1
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
}