summaryrefslogtreecommitdiff
path: root/community-staging/libfbclient/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-05 22:48:57 +0000
committerroot <root@rshg047.dnsready.net>2011-06-05 22:48:57 +0000
commit3695b5d62c2aef6e82abc95d775a2ebd89bce081 (patch)
treedb3a874c568e5f5ad3dfe651ceda1df63d5f354f /community-staging/libfbclient/PKGBUILD
parent80ba845c7cb571644d9dea61b9872c393d128c37 (diff)
Sun Jun 5 22:48:57 UTC 2011
Diffstat (limited to 'community-staging/libfbclient/PKGBUILD')
-rwxr-xr-xcommunity-staging/libfbclient/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community-staging/libfbclient/PKGBUILD b/community-staging/libfbclient/PKGBUILD
new file mode 100755
index 000000000..26409e5a0
--- /dev/null
+++ b/community-staging/libfbclient/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 48689 2011-06-04 20:28:04Z lcarlier $
+# Maintainer: Carlier Laurent <lordheavym@gmail.com>
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+
+pkgname=libfbclient
+pkgver=2.5.0.26074
+pkgrel=3
+pkgdesc="Client library for Firebird."
+arch=('i686' 'x86_64')
+url="http://www.firebirdsql.org/"
+license=('custom')
+depends=('gcc-libs' 'icu')
+source=(http://downloads.sourceforge.net/firebird/Firebird-$pkgver-0.tar.bz2
+ LICENSE)
+md5sums=('780f162ee71f087fc277adf09f966529'
+ '0d61798861e159c85dbdf0f30fe2f2ce')
+
+build() {
+ cd $srcdir/Firebird-$pkgver-0
+
+ ./configure --prefix=/usr --with-system-icu --without-fbudf \
+ --without-fbsbin --without-fbconf --without-fbdoc --without-fbsample \
+ --without-fbsample-db --without-fbintl --without-fbmisc --without-fbhelp \
+ --without-fbsecure-db --with-fbmsg=/usr/share/firebird --without-fblog \
+ --without-fbglock --without-fbplugins
+
+ make
+}
+
+package() {
+ cd $srcdir/Firebird-$pkgver-0
+
+ mkdir -p $pkgdir/usr/{bin,share/firebird}
+ cp -R gen/firebird/{lib,include} $pkgdir/usr
+ rm -f $pkgdir/usr/lib/libedit.a
+ install -m644 gen/firebird/*.msg $pkgdir/usr/share/firebird
+ install -m755 gen/firebird/bin/fb_config $pkgdir/usr/bin
+ mkdir -p $srcdir/usr/share/licenses/$pkgname/
+ install -D -m644 ${srcdir}/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}