# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

pkgname=rsbep
pkgver=0.1.0
pkgrel=3
pkgdesc="Tsiodras patched rsbep for error-resilient backups of data using the Reed-Solomon algorithm."
arch=('i686' 'x86_64' 'armv7h')
url="http://arss.sourceforge.net/"
license=('GPL2')
makedepends=('gcc')
source=("http://distro.ibiblio.org/slitaz/sources/packages/r/$pkgname-$pkgver-ttsiodras.tar.bz2")
sha256sums=('ec8b91e9755f4b9012e3c3869e79c851bf5d8199a7061d20b83debc4261951fe')

build() {
  cd $pkgname-$pkgver-ttsiodras
	./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin
	make
}

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