aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wok/APKBUILD
blob: b2df0dfcf8d353b1b03271d6b7b0fb22a67ea288 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=wok
pkgver=2.3.0
pkgrel=1
pkgdesc="Webserver of Kimchi - a cherrypy framework for multi-purpose plug-ins"
url="http://kimchi-project.github.io/wok/"
arch="noarch"
license="APACHE LGPL2.1"
depends="python2 nginx logrotate py-cherrypy py2-jsonschema 
py2-pyparted  py2-pyldap py2-psutil py2-m2crypto py-cheetah
py2-augeas py2-pam py2-functools32 py2-lxml py2-libvirt py-cherrypy
ttf-opensans ttf-font-awesome"
makedepends="automake autoconf libtool gettext-dev
python2-dev pyflakes libxslt"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/$pkgname/archive/$pkgver.tar.gz
wokd.initd
alpine-specific-wokd.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	sh ./autogen.sh --system
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -D -m755 "$srcdir"/wokd.initd \
		"$pkgdir"/etc/init.d/wokd || return 1
}

md5sums="25d785bf2800157cebdb959f3a749cd8  wok-2.3.0.tar.gz
df0000adb91f45628ccde489fd85b9e1  wokd.initd
63ed561751a90ca6ddb23a62a9a49e7a  alpine-specific-wokd.patch"
sha256sums="14ca498ab1f37ad18855616f132f8d89a2ed692f80252fcd9f99f7f4e8859257  wok-2.3.0.tar.gz
0b9d6a62e2e122943e5c59a28155d19a6acc00059d7c31d27b961d1463d62445  wokd.initd
e896f92fc1e3c79d73068c4a5f552c945d013d87f094ae139db21cb05e0dfb84  alpine-specific-wokd.patch"
sha512sums="c10c3a8a0e34b5f91b4054fd74cba9e4fbd072ce5e4b32798aff8d85deb275f4059d0e08c22eb56a43431ccb2f7452da77618d617d0f8c1b9e7f6fbdbe2a6d40  wok-2.3.0.tar.gz
a05554686e0ea2d069a5b9e9b83f6aee678ed299269d86d1192ae417ba98fa8e727d55be8f396360c70846f549f46e64028956e5f7f5c50bbf5601f548c8bd71  wokd.initd
c47deb3ef8160162af5dbfd8b6975f86a12c69bff641ff627d4869a5edcbea8dc47551da6ee98ad5787d03a3dc93434edc42913031a19bc903a17c70a692c699  alpine-specific-wokd.patch"