summaryrefslogtreecommitdiffstats
path: root/abs/core/mysql-clients
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/mysql-clients
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/mysql-clients')
-rw-r--r--abs/core/mysql-clients/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/core/mysql-clients/PKGBUILD b/abs/core/mysql-clients/PKGBUILD
new file mode 100644
index 0000000..ecbdcdd
--- /dev/null
+++ b/abs/core/mysql-clients/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 2464 2008-06-02 11:38:11Z alexander $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=mysql-clients
+pkgver=5.0.60
+pkgrel=1
+pkgdesc="MySQL client tools"
+arch=(i686 x86_64)
+depends=("libmysqlclient>=${pkgver}" 'gcc-libs' 'readline')
+makedepends=('tcp_wrappers' 'libtool' 'gcc')
+url=('http://www.mysql.com/')
+options=('!libtool')
+license=('GPL')
+source=(http://mirror.provenscaling.com/mysql/enterprise/source/5.0/mysql-${pkgver}.tar.gz)
+
+build() {
+ cd $startdir/src/mysql-${pkgver}
+ ./configure --prefix=/usr --libexecdir=/usr/sbin \
+ --localstatedir=/var --sysconfdir=/etc \
+ --without-debug --without-docs --without-bench --without-readline \
+ --with-innodb --enable-local-infile --with-openssl \
+ --with-charset=latin1 --with-collation=latin1_general_ci \
+ --with-extra-charsets=complex --enable-thread-safe-client \
+ --with-libwrap --with-berkeley-db --disable-server
+
+ for dir in include strings regex mysys dbug extra; do
+ pushd ${dir} || return 1
+ make || return 1
+ popd
+ done
+ cd client
+ sed -i -e 's|\$(top_builddir)/libmysql/libmysqlclient.la|/usr/lib/mysql/libmysqlclient.so|g' Makefile
+ make link_sources
+ make || return 1
+ make DESTDIR=${startdir}/pkg install
+}
+md5sums=('2709a53f3da6f1cd868825ed2ea80431')