diff options
Diffstat (limited to 'unmaintained/lua-cyrus-sasl/APKBUILD')
-rw-r--r-- | unmaintained/lua-cyrus-sasl/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/lua-cyrus-sasl/APKBUILD b/unmaintained/lua-cyrus-sasl/APKBUILD new file mode 100644 index 0000000000..43a99f40c9 --- /dev/null +++ b/unmaintained/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=1 +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" |