summaryrefslogtreecommitdiffstats
path: root/httpup/Pkgfile
blob: f9feeab1c62f87554201496dc97dd124997c2d45 (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="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <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;
	make ${CHOST:+CXX=$CHOST-g++};
	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
}