# Maintainer:  Johannes Winkelmann, jw at tks6 dot net 
# Description: One way sync over http
# URL:         http://jw.tks6.net/files/crux/httpup_manual.html 
# Depends on:  curl

name=httpup
version=0.4.0i
release=2
source=(http://jw.tks6.net/files/crux/${name}-$version.tar.gz httpup)

build() {
    cd $name-$version
    make
    mkdir -p $PKG/usr/{bin,man/man8}

    cp httpup httpup-repgen $PKG/usr/bin
    install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup
    cp *.8 $PKG/usr/man/man8
}
