summaryrefslogtreecommitdiffstats
path: root/httpup/Pkgfile
blob: 3133e1ef687777049cfb2e23abcf1717b2b44c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
description="One way sync over HTTP."
packager="Lukc (XMPP/SMTP: lukc AT upyum DOT com)"
maintainer="Lukc (XMPP/SMTP: lukc AT upyum DOT com)"
url=http://jw.tks6.net/files/crux/httpup_manual.html
depends=(curl)

name=httpup
version=0.4.0k
release=1
source=(http://jw.tks6.net/files/crux/$name-$version.tar.gz httpup)
build () 
{ 
    cd $name-$version;
    sed -i -e "s|-Werror|$CFLAGS|" Makefile;
    pkgmake prefix=$prefix;
    mkdir -p $PKG/usr/{bin,share/man/man8};
    cp httpup httpup-repgen $PKG/usr/bin;
    install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup;
    cp *.8 $PKG/usr/share/man/man8
}