diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-09-21 14:52:47 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-09-21 14:52:47 +0200 |
commit | e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc (patch) | |
tree | c6b816e7ba8f9b659e1be415ebf1dac4262c3b82 /main/monkey | |
parent | 452d447d89b3a3775b7f602d7352a8cfe8a0f9d4 (diff) | |
download | aports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.bz2 aports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.xz |
testing/*: move to main
Diffstat (limited to 'main/monkey')
-rw-r--r-- | main/monkey/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/main/monkey/APKBUILD b/main/monkey/APKBUILD new file mode 100644 index 0000000000..da40e6fe0e --- /dev/null +++ b/main/monkey/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Łukasz Jendrysik <scadu@yandex.com> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +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" |