| 1 | # Description: A menu driven communications program |
| 2 | # URL: http://alioth.debian.org/projects/minicom/ |
| 3 | # Maintainer: Jose V Beneyto, sepen at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Packager: sten, nick dot steeves at shaw dot ca |
| 6 | # Depends on: |
| 7 | |
| 8 | name=minicom |
| 9 | version=2.4 |
| 10 | release=1 |
| 11 | source=(http://alioth.debian.org/frs/download.php/2332/$name-$version.tar.gz) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-2.3 |
| 15 | sed 's/getline(/gethistline(/g' -i src/minicom.c |
| 16 | ./configure --build=$CHOST \ |
| 17 | --host=$CTARGET \ |
| 18 | --prefix=/usr \ |
| 19 | --disable-nls \ |
| 20 | --mandir=/usr/man |
| 21 | make |
| 22 | make DESTDIR=$PKG install |
| 23 | } |