void-packages/srcpkgs/darkhttpd/template
2015-08-26 00:03:10 +02:00

19 lines
507 B
Bash

# Template file for 'darkhttpd'
pkgname=darkhttpd
version=1.11
revision=4
build_pie=yes
short_desc="A small and secure static webserver"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="BSD"
homepage="http://dmr.ath.cx/net/darkhttpd/"
distfiles="$homepage/$pkgname-$version.tar.bz2"
checksum=afad244add43c53010b36ada6ccdf1a854885cb37d6aeff103ad0aa4aed96c51
CFLAGS="$CFLAGS $LDFLAGS"
do_build() {
${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${pkgname}.c -o ${pkgname}
}
do_install() {
vbin ${pkgname}
}