aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ginger/APKBUILD
blob: 3ef3a78748ce88d1fc543f6d6905a8e33b42a6fe (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ginger
pkgver=2.4.0
pkgrel=0
pkgdesc="WoK plugin for host management"
url="http://kimchi-project.github.io/ginger"
arch=""
license="APACHE LGPL2.1"
depends="py2-configobj py2-pyparted wok"
makedepends="automake autoconf libtool
	python2-dev gettext-dev pyflakes libxslt"
options="!check"
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
}

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

sha512sums="69531dc16fe2b00576936396c8d89ec050ebf2fe26b001205018fd1ab6b545b8b61fc8ce5f6e5cd10063140fe0afb5d5ab8795cb472268b58423c45377821dc6  ginger-2.4.0.tar.gz"