diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-02-24 15:09:02 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-02-24 15:09:02 +0000 |
commit | ad7a50db8fa7fd32df9ee207d3e36717c9ba9089 (patch) | |
tree | c0f64fc2ca68a3b139cf3bb89e672150702080c6 /testing | |
parent | 782a570ccc7568facaf843758d1d312e3a71d5f6 (diff) | |
parent | eea9ba2e261f7c841f297b06692bf0610b95ab75 (diff) | |
download | aports-ad7a50db8fa7fd32df9ee207d3e36717c9ba9089.tar.bz2 aports-ad7a50db8fa7fd32df9ee207d3e36717c9ba9089.tar.xz |
Merge branch 'master' of git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-filesystem/APKBUILD | 31 | ||||
-rw-r--r-- | testing/lua-penlight/APKBUILD | 34 | ||||
-rw-r--r-- | testing/psqlodbc/APKBUILD | 26 |
3 files changed, 91 insertions, 0 deletions
diff --git a/testing/lua-filesystem/APKBUILD b/testing/lua-filesystem/APKBUILD new file mode 100644 index 000000000..cf07eb5ad --- /dev/null +++ b/testing/lua-filesystem/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: +# Maintainer: +pkgname=lua-filesystem +pkgver=1.4.2 +pkgrel=0 +pkgdesc="Lua library to complement the set of functions related to file systems" +url="http://www.keplerproject.org/luafilesystem/" +license="GPL" +depends= +makedepends="lua-dev" +install= +subpackages= +source="http://luaforge.net/frs/download.php/3931/luafilesystem-1.4.2.tar.gz" + +_builddir="$srcdir"/luafilesystem-$pkgver +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install +} + +md5sums="8e7b2a9b899d669280456d0f95afd961 luafilesystem-1.4.2.tar.gz" diff --git a/testing/lua-penlight/APKBUILD b/testing/lua-penlight/APKBUILD new file mode 100644 index 000000000..56980fb3b --- /dev/null +++ b/testing/lua-penlight/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: +# Maintainer: +pkgname=lua-penlight +pkgver=0.7.2 +pkgrel=0 +pkgdesc="Lua libraries for extended operations on tables, lists and strings" +url="http://penlight.luaforge.net/" +license="GPL" +depends="lua-filesystem" +makedepends= +install= +subpackages="$pkgname-doc" +source="http://luaforge.net/frs/download.php/4091/pl.0.7.2.zip" + +# append extra dependencies to -dev subpackage +# remove if not used. +# depends_dev="somepackage-dev" + +_builddir="$srcdir" + +build() { + return 0 +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/share/lua/5.1/ \ + "$pkgdir"/usr/share/doc/$pkgname + cp -r lua/pl "$pkgdir"/usr/share/lua/5.1/ + cp -r docs/* "$pkgdir"/usr/share/doc/$pkgname/ + cp -r examples/penlight "$pkgdir"/usr/share/doc/$pkgname/examples +} + +md5sums="ef4eec0cb87ebf81886da0f2a4663d59 pl.0.7.2.zip" diff --git a/testing/psqlodbc/APKBUILD b/testing/psqlodbc/APKBUILD new file mode 100644 index 000000000..6139d96ea --- /dev/null +++ b/testing/psqlodbc/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=psqlodbc +pkgver=08.04.0200 +pkgrel=0 +pkgdesc="PostgreSQL ODBC driver" +url="http://www.postgresql.org" +license="GPL" +depends= +makedepends="postgresql-dev unixodbc-dev openssl-dev" +subpackages="$pkgname-dev" +source="ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} + + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} +md5sums="8296be11d24e3111319826fbaf034066 psqlodbc-08.04.0200.tar.gz" |