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

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

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
}