aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongrel2/APKBUILD
blob: eb7dd24420fb57266060e254e9d4e0d3c7ede7b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"