aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openxcap/APKBUILD
blob: ada34366e7fb3dfc8d4d5fc58178959570100e59 (plain) (blame)
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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=openxcap
pkgver=2.1.0
pkgrel=0
pkgdesc="Open source fully featured XCAP server "
url="http://openxcap.org"
pkgusers="openxcap"
pkggroups="openxcap"
arch="noarch"
license="GPL"
depends="python py-application py-gnutls py-twisted py-twisted-web2 py-pillow
	py-lxml py-mysqldb"
makedepends="python-dev"
install="$pkgname.pre-install $pkgname.post-install"
source="http://download.ag-projects.com/XCAP/$pkgname-$pkgver.tar.gz
	config.ini
	openxcap.initd
"
package() {
	cd "$srcdir"/$pkgname-$pkgver
	mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
	python setup.py install --root="$pkgdir" || return 1
	echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" \
		> "$pkgdir"/usr/lib/python2.6/site-packages/$pkgname.pth
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -m644 -D "$srcdir"/config.ini \
	                "$pkgdir"/etc/openxcap/config.ini
        install -d -o openxcap "$pkgdir"/var/run/openxcap
}

md5sums="192f3862228bce08eca6ed5e0dca4650  openxcap-2.1.0.tar.gz
7a18872843586717eaf3879444cc13d2  config.ini
0043d28e9e6e51e03661755d12080a28  openxcap.initd"
sha256sums="4848d94061b2f2cb2c612b4566f2933acb7fcef52143fb8c4144f094848f12bb  openxcap-2.1.0.tar.gz
078f4a5787a6c6c07e3fe279e2767eb33bcd2d9ce6c624ecb11f6e5778c2495c  config.ini
29fbdbe9b2e27cfcbe7dc9f1385ff96654dfb58960b2778e2cb0a3726b505972  openxcap.initd"
sha512sums="28be4b867288ada8c8c3aaa5e7915cd4fe15890bd7ead47b03b5cfe0a4132cbf21f583c873577bdec2f8aa3a8b6a8f746e6043c999dea05735548831187319ef  openxcap-2.1.0.tar.gz
176399345d19dcfe6f8b5d341490c5d48dbbb8c00a3dc22e76287814988f26bf4aab7b5229e3ce049141d6861ff1bc1d7b973e74434377e619cb6eaa8715861c  config.ini
ea1cfc5e676809717615f8fc7da729985454d5555d4f8e890dc1609aeb057c9b07de7f2cc37dcaf5f4dd36f8837b027a34f4af12047cc58684ff9cf4109f39a1  openxcap.initd"