| 1 | # Description: One way sync over http |
| 2 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 3 | # URL: http://jw.tks6.net/files/crux/httpup_manual.html |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: curl |
| 6 | |
| 7 | name=httpup |
| 8 | version=0.4.0k |
| 9 | release=1 |
| 10 | source=(http://jw.tks6.net/files/crux/${name}-$version.tar.gz httpup) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | |
| 15 | make CXX=$CXX STRIP=$STRIP |
| 16 | mkdir -p $PKG/usr/{bin,man/man8} |
| 17 | |
| 18 | cp httpup httpup-repgen $PKG/usr/bin |
| 19 | install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup |
| 20 | cp *.8 $PKG/usr/man/man8 |
| 21 | } |