blob: 0f63ddb0aba5942df72d951c04236bd3614b627c (
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
|
# 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"
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"
|