| 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, devel@crux-arm.nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=readline |
| 8 | version=6.1 |
| 9 | release=1 |
| 10 | source=(http://ftp.gnu.org/gnu/$name/$name-${version}.tar.gz \ |
| 11 | inputrc) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-${version} |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr \ |
| 18 | --mandir=/usr/man |
| 19 | make |
| 20 | make DESTDIR=$PKG install |
| 21 | install -D -m 644 $SRC/inputrc $PKG/etc/inputrc |
| 22 | rm -rf $PKG/usr/share/info |
| 23 | } |