diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-17 07:09:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-17 07:09:41 +0000 |
commit | 137e5acb2c637e6ee543a20ce531d689a6b0c9d9 (patch) | |
tree | 44fb2487460830c18791b7d4fc1a0c4c28973960 /main/lua-curl/APKBUILD | |
parent | 858d8bd7dde083d3cfd72fffdb0ad0ceae277d59 (diff) | |
download | aports-137e5acb2c637e6ee543a20ce531d689a6b0c9d9.tar.bz2 aports-137e5acb2c637e6ee543a20ce531d689a6b0c9d9.tar.xz |
main/lua-curl: moved from testing
Diffstat (limited to 'main/lua-curl/APKBUILD')
-rw-r--r-- | main/lua-curl/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/lua-curl/APKBUILD b/main/lua-curl/APKBUILD new file mode 100644 index 0000000000..501728da55 --- /dev/null +++ b/main/lua-curl/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-curl +pkgver=0.2 +pkgrel=1 +pkgdesc="Lua bindings to cURL library" +url="http://lua-curl.luaforge.net/" +arch="all" +license="MIT/X11" +depends= +makedepends="lua-dev curl-dev pkgconfig" +install= +subpackages="" +source="http://luaforge.net/frs/download.php/2634/lua-curl-0.2.tar.gz" + +_builddir="$srcdir"/lua-curl-$pkgver +build() { + cd "$_builddir" + ./configure --prefix=/usr + make +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" + rm -f "$pkgdir"/usr/lib/lua/5.1/cURL.la +} + +md5sums="c15599e1147f76261f03a00088946d9d lua-curl-0.2.tar.gz" |