summaryrefslogtreecommitdiff
path: root/community/libdbi/PKGBUILD
blob: 317215e4e4272f03769399b07eeb1b845ac46887 (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
# $Id: PKGBUILD 59571 2011-11-28 08:58:19Z ttopper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Carl Flippin <carlf@photocarl.org>

pkgname=libdbi
pkgver=0.8.4
pkgrel=2
pkgdesc="A database independant abstraction layer for C"
url="http://libdbi.sourceforge.net"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('glibc')
options=(!libtool)
install=libdbi.install
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('c5f15407ef7b07ba854cd8c9b15b88ff')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make CFLAGS="-fno-fast-math"
}

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

# vim:set ts=2 sw=2 et: