httpup: update to 0.4.0l

This commit is contained in:
Juergen Daubert 2012-09-17 11:33:25 +02:00
parent 66ed1ba7d2
commit c68e24dcc9
2 changed files with 5 additions and 12 deletions

View File

@ -1,2 +1,2 @@
faa600a1b0349fe78b0eb463cab444df httpup
2c36fc594ba4b565763ba7314b14c729 httpup-0.4.0k.tar.gz
c0e2973f0dbd7655dcbb5e5979ddc199 httpup-0.4.0l.tar.gz

View File

@ -4,20 +4,13 @@
# Depends on: curl
name=httpup
version=0.4.0k
release=2
source=(http://jw.tks6.net/files/crux/${name}-$version.tar.gz httpup)
version=0.4.0l
release=1
source=(http://jw.smts.ch/files/crux/$name-$version.tar.gz httpup)
build() {
cd $name-$version
# FS#824
sed -i '15i#include <unistd.h>' main.cpp
make
mkdir -p $PKG/usr/{bin,man/man8}
cp httpup httpup-repgen $PKG/usr/bin
make DESTDIR=$PKG prefix=/usr install
install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup
cp *.8 $PKG/usr/man/man8
}