blob: 44dfad9b1f568048be015ee208751966f7fa7504 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 16187 2010-04-26 10:05:11Z andrea $
# Maintainer:
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
pkgname=cppunit
pkgver=1.12.1
pkgrel=2
pkgdesc="A C++ unit testing framework"
arch=('i686' 'x86_64' 'mips64el')
url="http://cppunit.sourceforge.net"
license=('LGPL')
depends=('sh' 'gcc-libs')
makedepends=('gcc')
options=('!libtool')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
'gcc4.5.patch')
md5sums=('bd30e9cf5523cdfc019b94f5e1d7fd19'
'7f4e3b50fa1ee8bc854ab431848dddec')
build() {
cd ${srcdir}/$pkgname-$pkgver
patch -Np1 -i ${srcdir}/gcc4.5.patch
autoreconf
libtoolize -f
./configure --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install || return 1
}
|