diff options
author | Robert Boisvert <rdbprog@gmail.com> | 2016-05-25 15:42:00 -0700 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-26 07:45:45 +0000 |
commit | 4b28d2db81687216e416fe6593ddb413bb3aae6f (patch) | |
tree | 2f48547072d0d5911153722b96c356b0e076be42 /testing/sqliteodbc | |
parent | da99534d2f792a2ec484fe2ecf6ca8d6b8802352 (diff) | |
download | aports-4b28d2db81687216e416fe6593ddb413bb3aae6f.tar.bz2 aports-4b28d2db81687216e416fe6593ddb413bb3aae6f.tar.xz |
# new package # testing/sqliteodbc: new aport
http://www.ch-werner.de/sqliteodbc/sqliteodbc-0.9993.tar.gz
SQLite ODBC driver
Diffstat (limited to 'testing/sqliteodbc')
-rw-r--r-- | testing/sqliteodbc/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/sqliteodbc/APKBUILD b/testing/sqliteodbc/APKBUILD new file mode 100644 index 0000000000..c5906a72c7 --- /dev/null +++ b/testing/sqliteodbc/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Robert Boisvert <rdboisvert@gmail.com> +# Maintainer: Robert Boisvert <rdboisvert@gmail.com> +pkgname=sqliteodbc +pkgver=0.9993 +pkgrel=0 +pkgdesc="SQLite ODBC driver" +arch="all" +license="BSD" +makedepends="libtool sqlite-dev unixodbc-dev" +source="http://www.ch-werner.de/sqliteodbc/$pkgname-$pkgver.tar.gz" +url="http://www.ch-werner.de/sqliteodbc" + +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir/usr/lib" + make DESTDIR="$pkgdir" install || return 1 + rm $pkgdir/usr/lib/*.la $pkgdir/usr/lib/*.a +} + +md5sums="2a418fa3465d285f75218b619345cd53 sqliteodbc-0.9993.tar.gz" +sha256sums="1a9a1abbd4387440a56b888113cebea6b39a832a16b456f355c71da69190fa35 sqliteodbc-0.9993.tar.gz" +sha512sums="aeacb8630eb84940f8c5da8da62ca9a9449995ae300072ec192262e80a89064fb608db0b6d05aad49938beb48d6bd30c0c4694bef8980ece76b4ed3e459039c4 sqliteodbc-0.9993.tar.gz" |