2015-03-19 22:12:44 +00:00
|
|
|
# Template file for 'monkey'
|
|
|
|
pkgname=monkey
|
|
|
|
version=1.5.6
|
2015-03-20 15:59:00 +00:00
|
|
|
revision=2
|
2015-03-19 22:12:44 +00:00
|
|
|
build_style=configure
|
2015-03-20 15:56:39 +00:00
|
|
|
makedepends="mbedtls-devel"
|
2015-03-19 22:12:44 +00:00
|
|
|
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 "
|
2015-03-20 15:53:44 +00:00
|
|
|
configure_args+="--pidfile=/var/run/monkey.pid --logdir=/var/log/monkey "
|
2015-03-19 22:12:44 +00:00
|
|
|
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
|
|
|
|
|
2015-03-20 15:56:39 +00:00
|
|
|
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/11227/steps/shell_3/logs/stdio"
|
|
|
|
|
2015-03-19 22:12:44 +00:00
|
|
|
make_dirs="
|
2015-03-20 15:53:44 +00:00
|
|
|
/var/log/monkey 0755 root httpd
|
|
|
|
/srv/httpd/htdocs 0755 root httpd"
|
2015-03-19 22:12:44 +00:00
|
|
|
|
2015-03-20 15:59:00 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/monkey/plugins/mbedtls/mbedtls.conf
|
|
|
|
/etc/monkey/plugins/mandril/mandril.conf
|
|
|
|
/etc/monkey/plugins/logger/logger.conf
|
|
|
|
/etc/monkey/plugins/fastcgi/fastcgi.conf
|
|
|
|
/etc/monkey/plugins/dirlisting/dirhtml.conf
|
|
|
|
/etc/monkey/plugins/dirlisting/themes/guineo/header.theme
|
|
|
|
/etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
|
|
|
|
/etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
|
|
|
|
/etc/monkey/plugins/cheetah/cheetah.conf
|
|
|
|
/etc/monkey/plugins/cgi/cgi.conf
|
|
|
|
/etc/monkey/plugins/auth/monkey.users"
|
|
|
|
|
2015-03-19 22:12:44 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|