aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-sql-odbc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-05 08:25:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-05 08:26:16 +0000
commitf946337bfd00f247b9e484d019241b4ea37a2337 (patch)
treef2022a56136be903d3eae60a633721ea0476c23a /testing/lua-sql-odbc
parentfa2422284685c88f06b20fd5a089ae27a0f543ab (diff)
downloadaports-f946337bfd00f247b9e484d019241b4ea37a2337.tar.bz2
aports-f946337bfd00f247b9e484d019241b4ea37a2337.tar.xz
testing/lua*-sql-*: merged into main/lua-sql
Diffstat (limited to 'testing/lua-sql-odbc')
-rw-r--r--testing/lua-sql-odbc/APKBUILD48
-rw-r--r--testing/lua-sql-odbc/config.patch37
-rw-r--r--testing/lua-sql-odbc/widechars.patch10
3 files changed, 0 insertions, 95 deletions
diff --git a/testing/lua-sql-odbc/APKBUILD b/testing/lua-sql-odbc/APKBUILD
deleted file mode 100644
index a84ab03025..0000000000
--- a/testing/lua-sql-odbc/APKBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# Contributor: Robert Boisvert <rdbprog@gmail.com>
-# Maintainer: Robert Boisvert <rdbprog@gmail.com>
-pkgname=lua-sql-odbc
-pkgver=2.1.1
-lpkgver=2_1_1
-pkgrel=1
-pkgdesc="ODBC driver for LuaSQL"
-url="http://www.keplerproject.org/luasql/"
-arch="all"
-license="MIT"
-depends=""
-makedepends="lua-dev unixodbc-dev"
-install=
-subpackages=
-source="https://github.com/keplerproject/luasql/archive/v$lpkgver.tar.gz
- widechars.patch
- config.patch"
-
-build() {
- cd "$srcdir/luasql-$lpkgver"
- make || return 1
-}
-
-prepare() {
- cd "$srcdir/luasql-$lpkgver"
- for i in $source; do
- case $i in
- *.patch)
- msg "Applying $i"
- patch -p1 -i "$srcdir"/$i || return 1
- ;;
- esac
- done
-}
-
-package() {
- cd "$srcdir/luasql-$lpkgver"
- install -D src/odbc.so "$pkgdir"/usr/lib/lua/5.1/luasql/odbc.so
-}
-md5sums="aa3a5c8503287e8c6b1845c3b796a3b0 v2_1_1.tar.gz
-a706dfeb8cdfcca209b90755e8104545 widechars.patch
-ebb6b3b612e607503598ce61d107e4de config.patch"
-sha256sums="98a0b970424aded98a2afe086b4727e133d5fe95dba8e32ea9de18849b00e10f v2_1_1.tar.gz
-89aed953834f9b6ed9998baac8454d7761f317d61513b532c17d0262c401a446 widechars.patch
-0c402d858d804fed986dc4fd2f0400012ae66ca14496521c1bda67106293292d config.patch"
-sha512sums="377b707ed291867177b5fc2dec2404ad000d004cff0443d9b4128b78c6e45d3c5492875fd6f1ecf037db253631d691c310a6a2220bd0042a0322335fc58d0f4b v2_1_1.tar.gz
-b31fa46b99d06d6069c03679b7cef08412eee6d5e4606b02e02b98cb97e03c0b884d65390c1e80cf5a36fa41b3afba9cbbc441284ec3a1e725e3de7bc824908e widechars.patch
-58dd76b7bca68cd0f8b541e524ebdab7036b4ac6e2bbc1eae0e69cae9ee9fed09ff7d3d839fd1b7e9eee21e22f6d0e4f9d04acf088295f96e15171968d51cee6 config.patch"
diff --git a/testing/lua-sql-odbc/config.patch b/testing/lua-sql-odbc/config.patch
deleted file mode 100644
index e5152f1cc1..0000000000
--- a/testing/lua-sql-odbc/config.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/config
-+++ b/config
-@@ -1,15 +1,15 @@
- # Driver (leave uncommented ONLY the line with the name of the driver)
- #T= mysql
- #T= oci8
--#T= odbc
-+T= odbc
- #T= postgres
- #T= sqlite
--T=sqlite3
-+#T=sqlite3
-
- # Installation directories
-
- # Default prefix
--PREFIX = /usr/local
-+PREFIX = /usr
-
- # System's libraries directory (where binary libraries are installed)
- LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
-@@ -45,11 +45,11 @@
- #DRIVER_LIBS= -lsqlite
- #DRIVER_INCS=
- ######## SQLite3
--DRIVER_LIBS= -L/opt/local/lib -lsqlite3
--DRIVER_INCS= -I/opt/local/include
-+#DRIVER_LIBS= -L/opt/local/lib -lsqlite3
-+#DRIVER_INCS= -I/opt/local/include
- ######## ODBC
--#DRIVER_LIBS= -L/usr/local/lib -lodbc
--#DRIVER_INCS= -DUNIXODBC -I/usr/local/include
-+DRIVER_LIBS= -L/usr/local/lib -lodbc
-+DRIVER_INCS= -DUNIXODBC -I/usr/local/include
-
- WARN= -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic
- INCS= -I$(LUA_INC)
diff --git a/testing/lua-sql-odbc/widechars.patch b/testing/lua-sql-odbc/widechars.patch
deleted file mode 100644
index 784793348d..0000000000
--- a/testing/lua-sql-odbc/widechars.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/ls_odbc.c
-+++ b/src/ls_odbc.c
-@@ -150,6 +150,7 @@
- case SQL_TYPE_DATE: case SQL_TYPE_TIME: case SQL_TYPE_TIMESTAMP:
- case SQL_DATE: case SQL_INTERVAL: case SQL_TIMESTAMP:
- case SQL_LONGVARCHAR:
-+ case SQL_WCHAR: case SQL_WVARCHAR: case SQL_WLONGVARCHAR:
- return "string";
- case SQL_BIGINT: case SQL_TINYINT: case SQL_NUMERIC:
- case SQL_DECIMAL: case SQL_INTEGER: case SQL_SMALLINT: