aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gingerbase/APKBUILD
blob: bcc5933fe0ee1b38dd412859238d8ab51dc1a4e5 (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=gingerbase
pkgver=2.3.0
pkgrel=0
pkgdesc="Gingerbase: basic host management for WoK"
url="http://kimchi-project.github.io/gingerbase/"
arch="noarch"
license="AGPL2.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 \
		--enable-sample
	make
}

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

sha512sums="90167f677a341d687a426fd4938aecdcba2a36cd109d7e0f81b55a74b077f00253decd015d65a5ffbd075a320015153ddf70bfcbdbf85ff79c0895ba189437de  gingerbase-2.3.0.tar.gz"