aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongrel2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-07 20:17:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-07 20:17:23 +0000
commit171ac82c086daabeed1718ed036291caa3bf8954 (patch)
tree683c4ab1782f84d64e9643534333d77d3eaa3723 /testing/mongrel2
parent4263f5870e176c81ddf4f92e125fe5da42ab9bba (diff)
downloadaports-171ac82c086daabeed1718ed036291caa3bf8954.tar.bz2
aports-171ac82c086daabeed1718ed036291caa3bf8954.tar.xz
testing/mongrel2: new aport
Web server for web applications http://mongrel2.org/
Diffstat (limited to 'testing/mongrel2')
-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"