aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/mongrel2/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/mongrel2/APKBUILD b/testing/mongrel2/APKBUILD
new file mode 100644
index 0000000000..eb7dd24420
--- /dev/null
+++ b/testing/mongrel2/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=mongrel2
+pkgver=1.8.0
+pkgrel=0
+pkgdesc="Web server for web applications"
+url="http://mongrel2.org/"
+arch="all"
+license="GPL"
+depends=
+makedepends="zeromq-dev sqlite-dev"
+install=
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/zedshaw/mongrel2/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/mongrel2-$pkgver
+prepare() {
+ # apply patches here
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ make PREFIX=/usr -j1 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+
+md5sums="2492b774e46299434e344b1ec797b250 mongrel2-1.8.0.tar.gz"
+sha256sums="67d15f6a32a1011010c5c7f51480b697d9f7ba9becdb9dad4998dc4681096373 mongrel2-1.8.0.tar.gz"
+sha512sums="2ca95d275b8ea5648fc60a49866e4aa1482abab46970e43bfb7e398fcd76de153b174237892bb1e8b0480d841b92b9d03b7b4ea283a4aa1697fb2126f30f2a73 mongrel2-1.8.0.tar.gz"