| 1 |
# Maintainer: Daniel Milde <daniel at milde dot cz> |
| 2 |
# Contributor: Danibspi danibspi <at> gmail <dot> com |
| 3 |
|
| 4 |
pkgname=cunit |
| 5 |
pkgver=2.1.3 |
| 6 |
pkgrel=3 |
| 7 |
pkgdesc="Lightweight system for writing, administering, and running unit tests in C" |
| 8 |
arch=(i686 x86_64) |
| 9 |
url="http://cunit.sourceforge.net/" |
| 10 |
license=('LGPL2') |
| 11 |
#depends=('glibc') |
| 12 |
options=('!libtool') |
| 13 |
source=(https://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2) |
| 14 |
sha256sums=('f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214') |
| 15 |
|
| 16 |
build() { |
| 17 |
cd "$srcdir/CUnit-2.1-3" |
| 18 |
libtoolize --force |
| 19 |
aclocal |
| 20 |
autoheader |
| 21 |
automake --force-missing --add-missing |
| 22 |
autoconf |
| 23 |
./configure --prefix=${MINGW_PREFIX} |
| 24 |
make || return 1 |
| 25 |
} |
| 26 |
|
| 27 |
package() { |
| 28 |
cd "$srcdir/CUnit-2.1-3" |
| 29 |
make DESTDIR="$pkgdir" install |
| 30 |
#mv $pkgdir/usr/doc $pkgdir/usr/share/doc |
| 31 |
} |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|