# Maintainer: Rafael Monnerat <rafael@nexedi.com>
pkgname=slapos-node
pkgver=%VERSION%+%RECIPE_VERSION%+%RELEASE%
pkgdesc="Slapos node"
pkgrel=1
arch=('x86_64' 'i686')
url="http://www.slapos.org"
license=('GPL')
depends=('gcc' 'make' 'patch' 'wget' 'python2' 'python2-distribute' 'bridge-utils')
makedepends=('gcc' 'make' 'patch' 'wget' 'python2' 'python2-distribute' 'chrpath' 'inetutils')
install='slapos-node.install'
source=(${pkgname}_${pkgver}.tar.gz)
md5sums=(%SOURCEMD5)

build() {
	cd "${srcdir}/${pkgname}_${pkgver}"
	make PYTHON=python2
}

package() {
	cd "${srcdir}/${pkgname}_${pkgver}"
	make DESTDIR="$pkgdir/" install
}
