diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-29 14:16:09 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-29 14:16:19 +0200 |
commit | 8a446f82329ce6b02f0df7904fa424e93efb576c (patch) | |
tree | 6e16b8e217fddb89d105bf420a7bffbd1e07cdfd /testing | |
parent | cea1479d55a6f1246704c6ba12358d78c076d47a (diff) | |
download | aports-8a446f82329ce6b02f0df7904fa424e93efb576c.tar.bz2 aports-8a446f82329ce6b02f0df7904fa424e93efb576c.tar.xz |
testing/lua-sqlite: link to sqlite
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-sqlite/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/lua-sqlite/APKBUILD b/testing/lua-sqlite/APKBUILD index 2100b61d47..4996beeed7 100644 --- a/testing/lua-sqlite/APKBUILD +++ b/testing/lua-sqlite/APKBUILD @@ -4,10 +4,10 @@ pkgname=lua-sqlite pkgver=0.9.3 _realver=fsl09w _luaversions="5.1 5.2 5.3" -pkgrel=0 +pkgrel=1 pkgdesc="Sqlite3 Binding for Lua" url="http://lua.sqlite.org/index.cgi/home" -arch="noarch" +arch="all" license="MIT" depends="" depends_dev="" @@ -47,13 +47,13 @@ package() { _split() { local _ver="$1" - arch="all" 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 || return 1 + -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 } |