aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gingerbase/APKBUILD
blob: e6a4a0a4c1b713c1552aa7c84e3f80c6a6f680dd (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
36
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gingerbase
pkgver=2.2.2
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"
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 || return 1
}

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

md5sums="537f76caa703c9200b2ca94d9d81ab94  gingerbase-2.2.2.tar.gz"
sha256sums="62e6949f768d92f336119bc8ce8d6c670afb87ac9c2d198af6628c36bcf31bd4  gingerbase-2.2.2.tar.gz"
sha512sums="f41c3d8a50b0967c9801f447c07d53c619bd3ff9158294980997c34477e670be499755785efe91cb6464d72abebbb9bc7369389f36ba52728add8e438c8e6c74  gingerbase-2.2.2.tar.gz"