summaryrefslogtreecommitdiff
path: root/testing/gingerbase/APKBUILD
blob: 35cf0d4d23e89b7d5848919ab785061f8938ddfb (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="AGPL-2.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 -j1 DESTDIR="$pkgdir" install
}

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