mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
|
|
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
|
|
pkgname=monkey
|
|
pkgver=1.5.6
|
|
pkgrel=2
|
|
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"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://monkey-project.com/releases/1.5/${pkgname}-${pkgver}.tar.gz"
|
|
|
|
_builddir="${srcdir}/${pkgname}-${pkgver}"
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
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
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR=$pkgdir install
|
|
install -Dm 755 "$pkgdir/usr/bin/banana" "$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"
|