diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-27 15:22:57 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-27 15:22:57 +0000 |
commit | e99df174fea32e7dac04261d8e7bc59e8ce19501 (patch) | |
tree | 3a55ea707fb268036816379e5ac4b1f70e7a8eda /testing | |
parent | dd08b4220e4beb3500fb20f403eccad431556202 (diff) | |
download | aports-e99df174fea32e7dac04261d8e7bc59e8ce19501.tar.bz2 aports-e99df174fea32e7dac04261d8e7bc59e8ce19501.tar.xz |
testing/bareos-webui: new aport. Fixes #5807
Diffstat (limited to 'testing')
-rw-r--r-- | testing/bareos-webui/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/bareos-webui/APKBUILD b/testing/bareos-webui/APKBUILD new file mode 100644 index 0000000000..5d6e373ff5 --- /dev/null +++ b/testing/bareos-webui/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=bareos-webui +pkgver=15.2.4 +pkgrel=0 +pkgdesc="Bareos Web User Interface" +url="http://www.bareos.org/en/bareos-webui.html" +arch="noarch" +license=" AGPL-3.0" +depends="zendframework php5" +makedepends="" +install="" +subpackages="$pkgname-apache2" +source="$pkgname-$pkgver.tar.gz::https://github.com/bareos/$pkgname/archive/Release/$pkgver.tar.gz" +builddir="$srcdir/$pkgname-Release-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --with-httpd-conf=/etc/apache2/conf.d + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +apache2() { + pkgdesc="Apache configuration files for $pkgname" + depends="apache2 php5-apache2" + arch="noarch" + mkdir -p "$subpkgdir"/etc/ + mv "$pkgdir"/etc/apache2 "$subpkgdir"/etc/apache2 +} + + +md5sums="5fe5b692133d414e04da3728c5ccc6f6 bareos-webui-15.2.4.tar.gz" +sha256sums="4a6a40cd398bacd01cbf0e8a0de183ba7054c3c66c36c1cc72cc9e5ee42ee016 bareos-webui-15.2.4.tar.gz" +sha512sums="93e56c4bca84f26d49d19ca88f0a07964782af5bcab37289bf83c42ae525ec738e3fdfe8cafc2c236a5e1f24908854927b47242ab7b3320653f60cdd0d7111b1 bareos-webui-15.2.4.tar.gz" |