diff options
Diffstat (limited to 'testing/lua-cyrus-sasl/APKBUILD')
-rw-r--r-- | testing/lua-cyrus-sasl/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/lua-cyrus-sasl/APKBUILD b/testing/lua-cyrus-sasl/APKBUILD new file mode 100644 index 000000000..b1d8bd80d --- /dev/null +++ b/testing/lua-cyrus-sasl/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Leonardo Arena <larena@alpinelinux.org> +# Maintainer: +pkgname=lua-cyrus-sasl +_realname=lua-cyrussasl +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Cyrus SASL library for Lua 5.1" +url="https://github.com/JorjBauer/lua-cyrussasl" +arch="all" +license="BSD" +depends= +makedepends="cyrus-sasl-dev lua-dev wget" +install= +subpackages= +source="http://dev.alpinelinux.org/archive/lua-cyrussals/lua-cyrussasl-v1.0.0-0.tar.gz + lua-cyrussasl-v1.0.0-Makefile.patch" +#source="http://dev.alpinelinux.org/archive/${_realname}/${_realname}-v${pkgver}-0.tar.gz" + +_builddir="$srcdir"/$_realname-v$pkgver + +prepare() { + cd $_builddir + patch -p1 < "$srcdir"/lua-cyrussasl-v1.0.0-Makefile.patch +} + +build() { + cd "$_builddir" + make +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/lib/lua/5.1 + make CPATH="$pkgdir"/usr/lib/lua/5.1 install +} + +md5sums="551c0ad88ca114c7b44c8e5c447a9c34 lua-cyrussasl-v1.0.0-0.tar.gz +fbcb022f3ce9d5679454edac3b1f8c32 lua-cyrussasl-v1.0.0-Makefile.patch" |