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 | |
a1c019f4 | 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 | |
a1c019f4 | 14 | sed "s|-O2 -pipe|$CFLAGS|g" -i Makefile |
7bcbda68 | 15 | make CXX=$CXX STRIP=$STRIP |
a1c019f4 | 16 | make DESTDIR=$PKG prefix=/usr install |
7bcbda68 | 17 | install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup |
7bcbda68 | 18 | } |