Commit e69c6a19 authored by Scrumpy Jack's avatar Scrumpy Jack Committed by Timo Teräs

main/monkey: upgrade to 1.6.8

Upgraded from 1.5.6 to 1.6.8

[Timo: added --libdir, -dev package and whitespace cleanup]
parent e793eae5
......@@ -2,18 +2,18 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=monkey
pkgver=1.5.6
pkgrel=2
pkgver=1.6.8
pkgrel=0
pkgdesc="Monkey is a lightweight and powerful web server "
url="http://monkey-project.com/"
arch="all"
license="ASL 2.0"
depends=""
depends_dev=""
makedepends="bash mbedtls1-dev findutils"
makedepends="cmake bash mbedtls-dev findutils"
install=""
subpackages="$pkgname-doc"
source="http://monkey-project.com/releases/1.5/${pkgname}-${pkgver}.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"
source="http://monkey-project.com/releases/1.6/${pkgname}-${pkgver}.tar.gz"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
......@@ -29,25 +29,27 @@ prepare() {
build() {
cd "$_builddir"
./configure \
--musl-mode \
--no-backtrace \
--enable-plugins=polarssl \
--prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc/$pkgname \
--datadir=/var/$pkgname \
--logdir=/var/log/$pkgname \
--plugdir=/etc/$pkgname \
--pidfile=/var/run/${pkgname}.pid || return 1
--musl-mode \
--no-backtrace \
--malloc-libc \
--mbedtls-shared \
--default-user=nobody \
--prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--sysconfdir=/etc/$pkgname \
--webroot=/var/$pkgname \
--logdir=/var/log/$pkgname \
--pidfile=${pkgname}.pid || return 1
make
}
package() {
cd "$_builddir"
make DESTDIR=$pkgdir install
install -Dm 755 "$pkgdir/usr/bin/banana" "$pkgdir/etc/init.d/banana"
install -Dm 755 "$_builddir/monkey.init" "$pkgdir/etc/init.d/banana"
}
md5sums="9699e4c9ea6ce6b989907c252ae80254 monkey-1.5.6.tar.gz"
sha256sums="7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22 monkey-1.5.6.tar.gz"
sha512sums="4c7c627cb047252252b22da5fba179a21fb5b8dc6280b96307af52757ad049d24b0daaaea51dca4f0429af5e6499c239f6b62a03654cc9e7ad98ae8f5149b64c monkey-1.5.6.tar.gz"
md5sums="aa9b95e16023a7fc062f00a197da059a monkey-1.6.8.tar.gz"
sha256sums="936aa276d11dea77cda2703eb5d1b89ede1cf8d44440e1ec029cafb10effb3cf monkey-1.6.8.tar.gz"
sha512sums="44d3c9785190849e50ffc28168a41939ddb9fa62e7c0ead26fa67ff78eae1b3855a9729b3de520b53d629607b456e9fa6fe31b7d0b0036c514c1d13296b7e8db monkey-1.6.8.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment