| 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.0l |
| 9 | release=1 |
| 10 | source=(http://jw.tks6.net/files/crux/${name}-$version.tar.gz httpup) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | sed "s|-O2 -pipe|$CFLAGS|g" -i Makefile |
| 15 | make CXX=$CXX STRIP=$STRIP |
| 16 | make DESTDIR=$PKG prefix=/usr install |
| 17 | install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup |
| 18 | } |