aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-09-16 11:52:48 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-09-16 11:52:48 +0200
commite723a2c4b3fa6abca8cb1a8e41868ce95bbd1fea (patch)
treea168f94496396341f06a11d0ac9d8f4995e58227 /testing
parent98ad47bd590ebe40fd6ab617a85e263da5c43884 (diff)
downloadaports-e723a2c4b3fa6abca8cb1a8e41868ce95bbd1fea.tar.bz2
aports-e723a2c4b3fa6abca8cb1a8e41868ce95bbd1fea.tar.xz
testing/lua-sqlite: move to main
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-sqlite/APKBUILD63
1 files changed, 0 insertions, 63 deletions
diff --git a/testing/lua-sqlite/APKBUILD b/testing/lua-sqlite/APKBUILD
deleted file mode 100644
index 4996beeed7..0000000000
--- a/testing/lua-sqlite/APKBUILD
+++ /dev/null
@@ -1,63 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=lua-sqlite
-pkgver=0.9.3
-_realver=fsl09w
-_luaversions="5.1 5.2 5.3"
-pkgrel=1
-pkgdesc="Sqlite3 Binding for Lua"
-url="http://lua.sqlite.org/index.cgi/home"
-arch="all"
-license="MIT"
-depends=""
-depends_dev=""
-makedepends="$depends_dev sqlite-dev"
-install=""
-subpackages=""
-source="http://lua.sqlite.org/index.cgi/tar/lsqlite3_$_realver.tar.gz"
-
-for _v in $_luaversions; do
- makedepends="$makedepends lua$_v-dev luarocks$_v"
- subpackages="$subpackages lua$_v-${pkgname#*lua-}:split_${_v/./_}"
- eval "split_${_v/./_}() { _split $_v; }"
-done
-
-_builddir="$srcdir"/lsqlite3_$_realver
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- for _v in $_luaversions; do
- cp -r $_builddir "$srcdir"/$pkgname-$_v
- done
-}
-
-build() {
- cd "$_builddir"
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_split() {
- local _ver="$1"
- cd "$srcdir"/$pkgname-$_ver || return 1
- pkgdesc="$pkgdesc (Lua $_ver)"
- install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
- ${CC:-gcc} ${CFLAGS} $(pkg-config --cflags sqlite3) \
- $(pkg-config --cflags lua$_ver) -shared -fPIC \
- -DLSQLITE_VERSION=\"$pkgver\" -o lsqlite3.so lsqlite3.c \
- $(pkg-config --libs sqlite3) || return 1
- install -Dm755 lsqlite3.so \
- "$subpkgdir"/usr/lib/lua/$_ver/lsqlite3.so || return 1
-}
-
-md5sums="2f426934179b2dca988f6b542d41f33a lsqlite3_fsl09w.tar.gz"
-sha256sums="39cb183b82254c1eef43f54bb16d60e9759a87c92375c4b0dd31492706c17fac lsqlite3_fsl09w.tar.gz"
-sha512sums="b2998678626b8cddc81b5fe4b6674ab46c578dc31c8c26b4d8e2d9e42ebcc4f38ab1263eb8f09f34e4726fcf18416707230235f57f0bd7ea93dc7834849ba00f lsqlite3_fsl09w.tar.gz"