New package: dev-lua/lua-cyrussasl, requires by prosody[sasl]

This commit is contained in:
nemunaire 2018-04-12 23:58:04 +02:00 committed by nemunaire
parent 7d8c306cb6
commit d87617c55a
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST v1.1.0.zip 18240 BLAKE2B e19aa5be5b728ea68ca90fd0351040aa8414849d2049e954583764e94714815627821f503dec34ef1ae5f3b75db194dac8823f2d92a00724061b7fe1c26f3e81 SHA512 f544c55580e2e892dff934dba7cb95854a23af2ff6233874db8c8eca2a2fd422c6a56c1d58a557215716c16d726c0ea552a856fd6564f9c7347b02561ac5538f
EBUILD lua-cyrussasl-1.1.0.ebuild 776 BLAKE2B 2ef91b9d32ecec5d683b94c9a148c4b79af667041f850dc8b96ea2e1543bf1033b2123214cd761a3709d25ad0ae65d9dfd1822946ff28fee697fc8197bcc3e2e SHA512 f28232744492d5b4c16d2ba831208764d6a494840060935727cc4b6e4c58011bf49863ef237ab2be2a5441f1e754634d55df02a84e9cf06d3dba8d489038c4b7
MISC metadata.xml 258 BLAKE2B 56a930f47b1b24a142aa53c18ff04027c0d01a123c41953c1138c773d8aac67e9a193787bbd980fd2d16482f04e99365bd8538550dd3df3d1959935a7cc378e5 SHA512 bae5e9eb659f7355c95800c2231976b3f91dd6a1c9215d8c5865f3e710109c9442477d374a4e70f70ac73f52fd8ce357dfa937f7b7aababaeaea310677dc143d

View File

@ -0,0 +1,42 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic
DESCRIPTION="Cyrus SASL library for Lua 5.1+ "
HOMEPAGE="https://github.com/JorjBauer/lua-cyrussasl"
SRC_URI="https://github.com/JorjBauer/lua-cyrussasl/archive/v${PV}.zip"
LICENSE="BSD3"
SLOT="0"
KEYWORDS="~amd64 ~arm"
IUSE=""
RDEPEND="dev-lang/lua:*
dev-libs/cyrus-sasl"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i '/CFLAGS=/d;/LDFLAGS=/d;/LUAPATH=/d;/CPATH=/d' Makefile \
|| die "Unable to remove bad variables overwrite."
append-cflags -fpic
append-ldflags -O -shared -fpic
append-libs -lsasl2 -llua
default
}
src_compile() {
default
}
src_install() {
export CPATH=${D}/usr/lib/lua/5.1
mkdir -p ${CPATH}
default
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nemunaire@nemunai.re</email>
<name>Pierre-Olivier Mercier</name>
</maintainer>
</pkgmetadata>