| 1 | # Description: Read and write data across network connections |
| 2 | # URL: http://netcat.sourceforge.net |
| 3 | # Maintainer: Antti Nykanen, aon at iki dot fi |
| 4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org |
| 5 | # Depends on: |
| 6 | |
| 7 | name=netcat |
| 8 | version=0.7.1 |
| 9 | release=1 |
| 10 | |
| 11 | source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr |
| 18 | make |
| 19 | make DESTDIR=$PKG install |
| 20 | rm -rf $PKG/usr/{share,info} |
| 21 | } |