diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 17:30:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 17:30:01 +0000 |
commit | fbbdf77f8282d60f045dd0cef0ef78b2ed66f3ed (patch) | |
tree | 622432c5413f53f7abc1faf4c1f9b41b3cbc57b3 | |
parent | ec23be96602484fa5045dd0cde489bb189e4f3c7 (diff) | |
download | aports-fbbdf77f8282d60f045dd0cef0ef78b2ed66f3ed.tar.bz2 aports-fbbdf77f8282d60f045dd0cef0ef78b2ed66f3ed.tar.xz |
main/lua-sql-sqlite3: renamed from luasql-sqlite3
-rw-r--r-- | main/lua-sql-sqlite3/APKBUILD (renamed from main/luasql-sqlite3/APKBUILD) | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/luasql-sqlite3/APKBUILD b/main/lua-sql-sqlite3/APKBUILD index 6cd89c8f0d..ff740b4fed 100644 --- a/main/luasql-sqlite3/APKBUILD +++ b/main/lua-sql-sqlite3/APKBUILD @@ -1,5 +1,5 @@ # Maintainer: Natanael Copa <natanael.copa@gmail.com> -pkgname=luasql-sqlite3 +pkgname=lua-sql-sqlite3 pkgver=2.1.1 pkgrel=0 pkgdesc="LuaSQL driver for sqlite3" @@ -10,11 +10,15 @@ makedepends="lua-dev sqlite-dev" install= subpackages= source="http://luaforge.net/frs/download.php/2686/luasql-$pkgver.tar.gz" +replaces=luasql-sqlite3 build() { cd "$srcdir"/luasql-$pkgver - make CFLAGS="$CFLAGS" T=sqlite3 DRIVER_LIBS="-lsqlite3" || return 1 +} + +package() { + cd "$srcdir"/luasql-$pkgver install -D src/sqlite3.so "$pkgdir"/usr/lib/lua/5.1/luasql/sqlite3.so } |