smlinux/net/darkhttpd/darkhttpd.SMBuild
2022-02-13 15:56:03 +05:30

27 lines
560 B
Text
Executable file

app=darkhttpd
version=1.12
build=1sml
homepage="https://unix4lyfe.org/darkhttpd"
desc="Simple, secure and lightweight HTTP server"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
make
install -Dm 755 darkhttpd $pkg/bin/darkhttpd
cp $srcdir/LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
92a6e317877f325ba8bf297ab855ff71ea233c0b83e1055dacc8fc2ff0b6eb5f11dca814fa2cce5f480294ef615e28e0551599b017a38ba73d2fd9a16a3ba933 darkhttpd-1.12.tar.lz
"