summaryrefslogtreecommitdiff
path: root/community/metakit/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/metakit/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/metakit/PKGBUILD')
-rw-r--r--community/metakit/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/metakit/PKGBUILD b/community/metakit/PKGBUILD
new file mode 100644
index 000000000..289776b18
--- /dev/null
+++ b/community/metakit/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 66530 2012-02-25 23:36:00Z lfleischer $
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=metakit
+pkgver=2.4.9.7
+pkgrel=5
+pkgdesc='MetaKit is an efficient database library with a small footprint'
+arch=('i686' 'x86_64')
+url='http://www.equi4.com/metakit/'
+makedepends=('tcl' 'python2')
+license=('BSD')
+options=('!libtool')
+source=("http://www.equi4.com/pub/mk/${pkgname}-${pkgver}.tar.gz")
+md5sums=('17330257376eea657827ed632ea62c9e')
+
+build() {
+ cd ${pkgname}-${pkgver}/builds
+
+ sed -i 's_"${prefix}/include/python2.5"_"${prefix}/include/python2.7"_' ../unix/configure
+ sed -i 's_"${prefix}/lib/python2.5/site-packages"_"${prefix}/lib/python2.7/site-packages"_' ../unix/configure
+
+ ../unix/configure \
+ --prefix=/usr \
+ --with-python \
+ --with-tcl=/usr/include
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/builds
+
+ mkdir -p ${pkgdir}/usr/lib/python2.7/site-packages
+
+ make DESTDIR=${pkgdir} install
+
+ install -D -m644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}