aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-16 12:31:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-16 12:31:21 +0000
commit14f740e07e0c872b0cd33c01e5d5388cc61a0d11 (patch)
treea2c95f606ebd296dcaa26aa9714f9af475293126 /main
parent94fc09b288d935afbbda22b690bc39dfb81de746 (diff)
downloadaports-14f740e07e0c872b0cd33c01e5d5388cc61a0d11.tar.bz2
aports-14f740e07e0c872b0cd33c01e5d5388cc61a0d11.tar.xz
main/lua-curl: upgrade to 0.2.3
ref #2257
Diffstat (limited to 'main')
-rw-r--r--main/lua-curl/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/main/lua-curl/APKBUILD b/main/lua-curl/APKBUILD
index 33d2564f25..e7f0f2377c 100644
--- a/main/lua-curl/APKBUILD
+++ b/main/lua-curl/APKBUILD
@@ -1,24 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_luaver=5.1
pkgname=lua-curl
-pkgver=0.2
-pkgrel=1
+pkgver=0.2.3
+pkgrel=0
pkgdesc="Lua bindings to cURL library"
url="http://lua-curl.luaforge.net/"
arch="all"
license="MIT/X11"
depends=
-makedepends="lua-dev curl-dev pkgconfig"
+makedepends="lua-dev curl-dev cmake"
install=
subpackages=""
-source="http://luaforge.net/frs/download.php/2634/lua-curl-0.2.tar.gz"
+source="lua-curl-$pkgver.tar.gz::https://github.com/msva/lua-curl/archive/$pkgver.tar.gz"
_builddir="$srcdir"/lua-curl-$pkgver
build() {
cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
|| return 1
make
}
@@ -26,7 +25,9 @@ build() {
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir"
- rm -f "$pkgdir"/usr/lib/lua/5.1/cURL.la
+ rm -f "$pkgdir"/usr/lib/lua/$_luaver/cURL.la
}
-md5sums="c15599e1147f76261f03a00088946d9d lua-curl-0.2.tar.gz"
+md5sums="5ce07f1b795b6a2d4745db93a84902ff lua-curl-0.2.3.tar.gz"
+sha256sums="1bb569698ac82f7147a7c7e4bd0e635a249e09d5c3385e613c3bb5db3350e773 lua-curl-0.2.3.tar.gz"
+sha512sums="9f8c775359cb527c60c0491848b9251adca635e05d3c7a74d38e34cac64abcd534afb670d97c57c23ba11aada19aa6f9eb017fb55308ee8b59ed8ce861c490e9 lua-curl-0.2.3.tar.gz"