PKGBUILDs/community/cdbxx/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
803 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=cdbxx
pkgver=0.0.1rc2
pkgrel=1
pkgdesc="cdbxx is a small STL style C++ library for TinyCDB implementation of Constant Database"
arch=(i686 x86_64)
url="http://cdbxx.sourceforge.net/"
license=("GPL")
depends=(gcc)
makedepends=(tinycdb)
source=(http://downloads.sourceforge.net/sourceforge/cdbxx/$pkgname-$pkgver.tar.bz2)
md5sums=('8c7f3eebe5c090ddea4aebf5445a1621')
build() {
cd $startdir/src/$pkgname-$pkgver
sed -i 's#LDFLAGS = -Wl,-rpath,$(shell pwd)/../src/ -L../src/ -lcdbxx#LDFLAGS = -Wl,-rpath,$(shell pwd)/../src/ -L../src/ -lcdbxx -lcdb#' ./testsuite/Makefile
make || return 1
make DESTDIR=$startdir/pkg install
}