diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 14:19:49 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 14:19:49 +0000 |
commit | 23f1a1fc12d7a571e9e2ada119fd9b95fbd8f18c (patch) | |
tree | 262fa1515260cc954c9e9192db060fd3d74edb86 /community/bareos-webui | |
parent | 6bbcbd0850861709f5f6e41ccfbc0f4eca6db10c (diff) | |
download | aports-23f1a1fc12d7a571e9e2ada119fd9b95fbd8f18c.tar.bz2 aports-23f1a1fc12d7a571e9e2ada119fd9b95fbd8f18c.tar.xz |
community/bareos-webui: moved from testing
Diffstat (limited to 'community/bareos-webui')
-rw-r--r-- | community/bareos-webui/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/bareos-webui/APKBUILD b/community/bareos-webui/APKBUILD new file mode 100644 index 0000000000..5d6e373ff5 --- /dev/null +++ b/community/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" |