New package: dev-lua/lua-cyrussasl, requires by prosody[sasl]
This commit is contained in:
parent
7d8c306cb6
commit
d87617c55a
3 changed files with 53 additions and 0 deletions
42
dev-lua/lua-cyrussasl/lua-cyrussasl-1.1.0.ebuild
Normal file
42
dev-lua/lua-cyrussasl/lua-cyrussasl-1.1.0.ebuild
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue