Files
xbps-make/extra/thttpd.d/Makefile
2024-07-18 23:13:21 +00:00

34 lines
671 B
Makefile

version=2.29
package=thttpd
pkgver=${version}_0
description=thttpd is a simple, small, portable, fast, and secure HTTP server.
homepage=https://www.acme.com/software/${package}
license=BSD-2-Clause
shlib-requires=libc.so
include ../../Makefile
SOURCES = \
${package}-${version}.tar.gz
FILES = \
files/mime_types.h
${package}-${version}.tar.gz:
${DOWNLOAD} ${homepage}/$@
prepare: ${SOURCES}
tar -zxf ${package}-${version}.tar.gz
mv ${package}-${version} build/
mv -f files/mime_types.h build
root:
MAKE=${MAKE} ./configure
bmake
install -Dm755 thttpd "${root}/usr/bin/thttpd"
root-man:
install -Dm644 thttpd.8 "${root}/usr/share/man/man8/thttpd.8"