CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: fixed issue with loadkeys command location
[crossrootfs.git] / readline / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Lets users edit command lines as they are typed in
2# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5# Depends on:
6
7name=readline
1d490896 8version=6.0.4
70e50f03 9release=2
1d490896
JB
10source=(http://ftp.gnu.org/gnu/$name/$name-${version%.*}.tar.gz \
11 $name-6.0-001-004.patch inputrc)
6dca1d21
JB
12
13build() {
1d490896
JB
14 cd $name-${version%.*}
15 patch -p0 -i $SRC/$name-6.0-001-004.patch
6dca1d21
JB
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
70e50f03
JB
18 --prefix=/usr \
19 --mandir=/usr/man
6dca1d21
JB
20 make
21 make DESTDIR=$PKG install
22 install -D -m 644 $SRC/inputrc $PKG/etc/inputrc
70e50f03 23 rm -rf $PKG/usr/share/info
6dca1d21 24}