diff options
Diffstat (limited to 'httpup/Pkgfile')
-rw-r--r-- | httpup/Pkgfile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/httpup/Pkgfile b/httpup/Pkgfile index 7e7f6a9..6656741 100644 --- a/httpup/Pkgfile +++ b/httpup/Pkgfile @@ -1,19 +1,20 @@ -description="One way sync over http" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +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/httpup-0.4.0k.tar.gz httpup) +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 + cd $name-$version; + sed -i -e "s|-Werror|$CFLAGS|" Makefile; + make; + 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 } |