void-packages/srcpkgs/darkhttpd/template

20 lines
507 B
Bash
Raw Normal View History

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