added cppunit-oldabi

This commit is contained in:
Martchus 2016-03-25 21:46:52 +01:00
parent 1c5b356f3c
commit a2969afb13
1 changed files with 37 additions and 0 deletions

37
cppunit/oldabi/PKGBUILD Normal file
View File

@ -0,0 +1,37 @@
# $Id$
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
_name=cppunit
pkgname=cppunit-oldabi
pkgver=1.13.2
pkgrel=1
pkgdesc="A C++ unit testing framework (using the old C++ ABI)"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/cppunit"
license=('LGPL')
depends=('sh' 'gcc-libs')
conflicts=($_name)
options=('!emptydirs')
source=(http://dev-www.libreoffice.org/src/${_name}-${pkgver}.tar.gz)
md5sums=('d1c6bdd5a76c66d2c38331e2d287bc01')
build() {
cd ${_name}-${pkgver}
export CXXFLAGS="$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0"
./configure --prefix=/usr --disable-static
make
}
check() {
cd ${_name}-${pkgver}
make check
}
package() {
cd ${_name}-${pkgver}
make DESTDIR="${pkgdir}" install
}