blob: 8ed0152b805dde314e6dd55e728c056df49552ec (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=umurmur
pkgver=0.2.16a
pkgrel=4
pkgdesc="Minimalistic Mumble server primarily targeted to run on routers"
url="http://umurmur.net/"
arch="all"
license="BSD"
depends=""
makedepends="libconfig-dev libressl-dev protobuf-c-dev autoconf automake"
install="$pkgname.post-install"
subpackages="$pkgname-doc"
pkgusers="umurmur"
pkggroups="umurmur"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
$pkgname.conf"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
autoreconf -fi
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-ssl=openssl \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 "$srcdir"/$pkgname.conf \
"$pkgdir"/etc/$pkgname/umurmurd.conf || return 1
install -Dm755 "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
install -Dm644 "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 AUTHORS ChangeLog README.md \
"$pkgdir"/usr/share/doc/$pkgname/
}
md5sums="061aa71eb059eb00d2b123ec9200b405 umurmur-0.2.16a.tar.gz
d0d19cdbba8ec2796a3924febe153927 umurmur.initd
aa4ea345abedc55ef4f0a2be1cbd7168 umurmur.confd
55cffc3f06db96a69f0db5d1dbbb4d31 umurmur.conf"
sha256sums="d64df8f77ceaa4951d7f2adbb2dcc173841d1e387ef4cd2082c42150a84349a5 umurmur-0.2.16a.tar.gz
5db7db929abb829b4e586a9973a12ae4a36a6eb603d1fe6b239abbc5d60a4a61 umurmur.initd
e994d68b860923acaa22cce1864d781fa8299203ba64121cc871bbfee4febad2 umurmur.confd
32ee6824594e16e5f20c8b08923a517063a54cbdf5116caa6f76f4098be97442 umurmur.conf"
sha512sums="432a85e93cb7d53c505caf8b97c1bb7c173c8f625127510de61cc0a1e3abaea9abcf96ab1c0a8c5039ba82af5d29710e4973f70c1438bfd44ba00fa0c3f64c9e umurmur-0.2.16a.tar.gz
1c22da6478738b8ac77aecbbf8e41260a957ddffec350020e56b622c70445ebf8dc28feb563b878f2c64132742d8e1e0cbcbd2a50f0c0b29a309ca29598d8c94 umurmur.initd
b6412621522c9148d5eaced25ff4fb023b0c84206a969120e261b4a89386c46961f1c485435a1763935f538c04c03f7b4b83d45779f1ba796b627cdb0d2436a0 umurmur.confd
0a5882dca2daf686716d7b78f916e4506c7b98e3460ccd56aace087dca88b686b659e32b325bf253922cc824049a800b06e5006ea04cc5539c82b63cda5cccea umurmur.conf"
|