aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ginger/APKBUILD
blob: 4e11a4e6a79e3513abcc48c69ee6515ff9e93a1d (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ginger
pkgver=2.3.1
pkgrel=0
pkgdesc="WoK plugin for host management"
url="http://kimchi-project.github.io/ginger"
arch="noarch"
license="APACHE LGPL2.1"
depends="py2-configobj py2-pyparted wok"
makedepends="automake autoconf libtool 
python2-dev gettext-dev pyflakes libxslt"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	sh ./autogen.sh --system
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-rpath
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="55ac0d5a9d4ded1847aab18bda74d4b1  ginger-2.3.1.tar.gz"
sha256sums="178034a7c55e33ef9c8fabcb9cd7c62e61c1fe8b2059701036214fa17233d24c  ginger-2.3.1.tar.gz"
sha512sums="bdb8f0bdf15705d8313f0ea739fbc92ded6546e374c8824906eb6f96b07e8e38810b03502383f07373f6ffaa8d9d0635aedc8e0e469ea397ebf8af2c84209338  ginger-2.3.1.tar.gz"