New package: monkey-1.5.6

This commit is contained in:
necrophcodr 2015-03-19 23:12:44 +01:00 committed by Juan RP
parent 42bb17104f
commit ecb9b83efe
3 changed files with 42 additions and 0 deletions

1
srcpkgs/monkey-devel Symbolic link
View File

@ -0,0 +1 @@
monkey/

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec chpst -uhttpd monkey

38
srcpkgs/monkey/template Normal file
View File

@ -0,0 +1,38 @@
# Template file for 'monkey'
pkgname=monkey
version=1.5.6
revision=1
build_style=configure
makedepends="mbedtls-devel"
configure_args+="--prefix=/usr --plugdir=/usr/share/monkey/plugins "
configure_args+="--sysconfdir=/etc/monkey/ --enable-plugins=mbedtls "
configure_args+="--datadir=/srv/httpd --mandir=/usr/share/man "
configure_args+="--pidfile=/var/run/monkey.pid"
short_desc="Cross-arch embeddable lightweight HTTP server"
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
license="APL-2.0"
homepage="http://monkey-project.com"
distfiles="${homepage}/releases/1.5/${pkgname}-${version}.tar.gz"
checksum=7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22
make_dirs="
/var/www/htdocs 0755 root httpd"
system_accounts="httpd"
httpd_descr="Monkey HTTP server"
httpd_homedir="/srv/httpd"
post_install() {
vmkdir usr/share/monkey/htdocs
mv ${DESTDIR}/srv/httpd/* ${DESTDIR}/usr/share/monkey/htdocs
vsv monkey
}
monkey-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}