# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
# Contributor: Juan Pablo Gonzalez Tognarelli <lord_jotape@yahoo.com.ar>
pkgname=cpptest
pkgver=1.1.2
pkgrel=2
pkgdesc="CppTest is a portable and powerful unit testing framework for handling automated tests in C++. with focus on usability and extendability." 
url="http://cpptest.sourceforge.net/" 
depends=(gcc-libs)
makedepends=(pkgconfig)
source=("http://downloads.sourceforge.net/sourceforge/cpptest/$pkgname-$pkgver.tar.gz")
md5sums=('79b9bff371d182f11a3235969f84ccb6')
arch=('i686' 'x86_64')
license=('LGPL')

build() {
  cd ${srcdir}/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
}

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