void-packages/srcpkgs/darkhttpd/template

19 lines
493 B
Bash
Raw Normal View History

2015-06-10 10:15:58 +02:00
# Template file for 'darkhttpd'
pkgname=darkhttpd
2016-01-30 12:08:36 +01:00
version=1.12
revision=1
2015-06-10 10:15:58 +02:00
short_desc="A small and secure static webserver"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="BSD"
2015-06-10 10:58:47 +02:00
homepage="http://dmr.ath.cx/net/darkhttpd/"
2015-06-10 10:15:58 +02:00
distfiles="$homepage/$pkgname-$version.tar.bz2"
2016-01-30 12:08:36 +01:00
checksum=a50417b622b32b5f421b3132cb94ebeff04f02c5fb87fba2e31147d23de50505
2015-08-26 00:03:10 +02:00
CFLAGS="$CFLAGS $LDFLAGS"
2015-06-10 10:15:58 +02:00
2015-08-26 00:03:10 +02:00
do_build() {
${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${pkgname}.c -o ${pkgname}
}
2015-06-10 10:15:58 +02:00
do_install() {
2015-08-26 00:03:10 +02:00
vbin ${pkgname}
2015-06-10 10:15:58 +02:00
}