blob: a03ab7b96b071a5c30c514fcf030d2e7a464a24f (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openxcap
pkgver=2.2.0
pkgrel=1
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-pillow
py-lxml py-mysqldb"
makedepends="python2-dev"
install="$pkgname.pre-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
chown -R $pkgusers:$pkggroups "$pkgdir"/var/run/openxcap
chgrp $pkggroups "$pkgdir"/etc/openxcap/config.ini
}
md5sums="14eacc9b5daa9451b2a585a82e24eff1 openxcap-2.2.0.tar.gz
7a18872843586717eaf3879444cc13d2 config.ini
eb916ed5abe002493a2721f7769e8ee5 openxcap.initd"
sha256sums="4b932cade046e4723f7339fa8270997501c52fb2c3eb6b33a684537386fcc007 openxcap-2.2.0.tar.gz
078f4a5787a6c6c07e3fe279e2767eb33bcd2d9ce6c624ecb11f6e5778c2495c config.ini
59df4642575f778da2f3b8a730fa06c6a820498507c13a3c9ffd042828ab8c95 openxcap.initd"
sha512sums="2e1b857d5083f34d42d621db7109fe1f0ba1f026220325ae9be54a9e5b7e4046798331ef2ebe56f5026d2c676da23dbde7b56317793ece173ac92e99274ff5cb openxcap-2.2.0.tar.gz
176399345d19dcfe6f8b5d341490c5d48dbbb8c00a3dc22e76287814988f26bf4aab7b5229e3ce049141d6861ff1bc1d7b973e74434377e619cb6eaa8715861c config.ini
df4874b0654ad89ab458a6b2924aa16be955e6d58ea28285c9dde48d7645361a57497b31e64197a0dfd5e740e158486a6330b3c0d65dcef940f5e20b0b319dde openxcap.initd"
|