diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-30 08:07:32 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-30 08:08:37 +0000 |
commit | e4ea0f49f2b658b01f2f9798cad29a395f5f8565 (patch) | |
tree | eb35137f477300a155575c53a75e114d1f50a475 /testing/umurmur | |
parent | 38edc8a7d91cdbf517d9dde019e6f5ef9ca33427 (diff) | |
download | aports-e4ea0f49f2b658b01f2f9798cad29a395f5f8565.tar.bz2 aports-e4ea0f49f2b658b01f2f9798cad29a395f5f8565.tar.xz |
testing/umurmur: new aport
uMurmur is a minimalistic Mumble server primarily targeted to run on routers
Diffstat (limited to 'testing/umurmur')
-rw-r--r-- | testing/umurmur/APKBUILD | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/testing/umurmur/APKBUILD b/testing/umurmur/APKBUILD new file mode 100644 index 0000000000..cb2b4f0602 --- /dev/null +++ b/testing/umurmur/APKBUILD @@ -0,0 +1,61 @@ +# Maintainer: Leonardo Arena <rnalrd@gmail.com> +pkgname=umurmur +pkgver=0.2.13 +pkgrel=0 +pkgdesc="Minimalistic Mumble server primarily targeted to run on routers" +url="https://code.google.com/p/umurmur/" +arch="all" +license="Custom" +depends= +depends_dev= +makedepends="$depends_dev libconfig-dev openssl-dev protobuf-c-dev" +install= +subpackages="$pkgname-doc" +source="https://umurmur.googlecode.com/files/$pkgname-$pkgver.tar.gz + $pkgname.initd + $pkgname.confd + $pkgname.conf + " + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + return 0 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-ssl=openssl + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/umurmurd + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/umurmurd + install -m644 -D "$srcdir"/$pkgname.conf "$pkgdir"/etc/umurmur/umurmurd.conf + mkdir -p "$pkgdir"/usr/share/doc/umurmur + install -m644 -D "$_builddir"/AUTHORS "$pkgdir"/usr/share/doc/umurmur || exit 1 + install -m644 -D "$_builddir"/ChangeLog "$pkgdir"/usr/share/doc/umurmur || exit 1 + install -m644 -D "$_builddir"/LICENSE "$pkgdir"/usr/share/doc/umurmur || exit 1 + install -m644 -D "$_builddir"/README.md "$pkgdir"/usr/share/doc/umurmur || exit 1 +} + +md5sums="04d0ea7a90b7858c16df26317b318bf4 umurmur-0.2.13.tar.gz +54ee71cf0611ba3c0f6b7802256e9595 umurmur.initd +355a4e8e9eda50ae72541db8da143a7f umurmur.confd +3239959c53f9df8beeb9c1d1ba4c2cf6 umurmur.conf" +sha256sums="ac1595fa47ce6bd1e0706dd609293f745d73a59af00a7a04ddc0f9ae243997be umurmur-0.2.13.tar.gz +d2ba06b0bb993dff5be4aa35d9cc30d64ec4a256ddcacf8d7ac38d7449db3f15 umurmur.initd +f7738665b9c7799df2b805f8570d4307f40c5fd3c84316e4773215b87fd57f67 umurmur.confd +6d34c8915d7d2cbd21cdb9d3ff1f9227c48d458046481c785a260e1faeae233f umurmur.conf" +sha512sums="dc33a49594e85244bed1e58f890cf1bbcc561dc455c889a9d1e143b93613cc9f3dfd2913174159cc25d8bc6ba7a5c182e818612ae5a37501403d64bc3f496ba2 umurmur-0.2.13.tar.gz +e8502b2513b011a6905558849387821756f07a6c8129c48188051408a920319317c25cd6bba74180656c48a7cd3de7380636064eb4e7e6094faa55e6a8db8dc6 umurmur.initd +4af070ab4d8f4a9a2d5b59b8be95cfb49c22faae809843d9c8ede954bdf39f1224bb31cc53e5cf0f771a2033dfe904890345a6031055c9e79fdd315447e54840 umurmur.confd +563573c405013bdf9d76003d68eb9619064659dc1e1b8b1fde24c0e587a807202bf62efe7f227cc95ff8b6db68a2ace3f0f359cef74c1bf5f1582815dd623501 umurmur.conf" |