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