2014-12-30 21:44:21 +01:00
|
|
|
# Template file for 'hiawatha'
|
|
|
|
pkgname=hiawatha
|
2015-05-11 09:12:09 +02:00
|
|
|
version=9.13
|
2015-06-02 12:06:50 +02:00
|
|
|
revision=2
|
2014-12-30 21:44:21 +01:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake"
|
2015-02-24 11:31:42 +01:00
|
|
|
makedepends="libxslt-devel mbedtls-devel"
|
2014-12-30 21:44:21 +01:00
|
|
|
short_desc="Advanced and secure webserver for Unix"
|
2015-01-08 14:24:16 +01:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2014-12-30 21:44:21 +01:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://hiawatha-webserver.org"
|
|
|
|
distfiles="$homepage/files/$pkgname-$version.tar.gz"
|
2015-06-02 12:06:50 +02:00
|
|
|
checksum=6ae204199849340f8ec5a1becbc3f3d80f8d5280f1feff8a12a25f8bc40dc225
|
2014-12-30 21:44:21 +01:00
|
|
|
configure_args="
|
|
|
|
-DLOG_DIR=/var/log/hiawatha
|
|
|
|
-DPID_DIR=/run
|
|
|
|
-DENABLE_SSL=ON
|
|
|
|
-DWEBROOT_DIR=/var/www
|
2014-12-30 21:58:23 +01:00
|
|
|
-DWORK_DIR=/var/lib/hiawatha
|
2015-02-24 11:31:42 +01:00
|
|
|
-DUSE_SYSTEM_MBEDTLS=ON
|
2015-01-20 10:18:27 +01:00
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
|
2014-12-30 21:44:21 +01:00
|
|
|
conf_files="
|
2015-01-20 10:18:27 +01:00
|
|
|
/etc/hiawatha/cgi-wrapper.conf
|
|
|
|
/etc/hiawatha/mimetype.conf
|
|
|
|
/etc/hiawatha/error.xslt
|
|
|
|
/etc/hiawatha/index.xslt
|
|
|
|
/etc/hiawatha/hiawatha.conf"
|
2014-12-30 21:44:21 +01:00
|
|
|
|
|
|
|
post_install() {
|
2015-06-02 12:06:50 +02:00
|
|
|
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
2014-12-30 21:44:21 +01:00
|
|
|
vsv hiawatha
|
|
|
|
}
|