aports/testing/ginger/APKBUILD

39 lines
1 KiB
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ginger
pkgver=2.4.0
pkgrel=7
pkgdesc="WoK plugin for host management"
url="https://kimchi-project.github.io/ginger"
arch="noarch !s390x !riscv64" # blocked by wok
license="Apache LGPL-2.1"
depends="py3-configobj py3-pyparted wok"
makedepends="automake autoconf libtool
python3-dev gettext-dev py3-pyflakes libxslt"
options="!check" # depends on unit2
subpackages="$pkgname-lang $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/ginger/archive/$pkgver.tar.gz"
prepare() {
default_prepare
sh ./autogen.sh --system
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-rpath
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="69531dc16fe2b00576936396c8d89ec050ebf2fe26b001205018fd1ab6b545b8b61fc8ce5f6e5cd10063140fe0afb5d5ab8795cb472268b58423c45377821dc6 ginger-2.4.0.tar.gz"