mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 18:22:30 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# 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"
|