diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/myodbc | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/myodbc')
-rw-r--r-- | community/myodbc/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/myodbc/PKGBUILD b/community/myodbc/PKGBUILD new file mode 100644 index 000000000..be3e9f3cf --- /dev/null +++ b/community/myodbc/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 94357 2013-07-22 11:20:31Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=myodbc +pkgver=5.2.5 +pkgrel=1 +pkgdesc="ODBC driver/connector for mariadb" +arch=(i686 x86_64) +url="http://dev.mysql.com/downloads/connector/odbc/" +depends=('unixodbc' 'libmariadbclient') +makedepends=('cmake') +license=('GPL') +options=('libtool') +source=("http://cdn.mysql.com/Downloads/Connector-ODBC/5.2/mysql-connector-odbc-$pkgver-src.tar.gz") +md5sums=('909e0c3c9c341fe777d0a620c4084442') + +build() { + cd $srcdir/mysql-connector-odbc-${pkgver}-src + unset LDFLAGS + cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_UNIXODBC=1 . + make +} + +package() { + cd $srcdir/mysql-connector-odbc-${pkgver}-src + make DESTDIR=$pkgdir install + pushd $pkgdir/usr + rm -rf test + install -dm0755 share/mysql-connector-odbc + mv ChangeLog COPYING INSTALL Licenses_for_Third-Party_Components.txt README README.debug \ + share/mysql-connector-odbc/ + popd +} |