summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-01-24 19:08:42 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-01-27 20:40:23 +0100
commit6d2131853200ed8c569720481b9a5374fd33f570 (patch)
tree9f2c72d80196c6ad0133a887373c565a11a87d7c /dev-lua/lualdap
parentdev-lua/luafilesystem: drop old version (diff)
downloadgentoo-6d2131853200ed8c569720481b9a5374fd33f570.tar.gz
gentoo-6d2131853200ed8c569720481b9a5374fd33f570.tar.bz2
gentoo-6d2131853200ed8c569720481b9a5374fd33f570.zip
dev-lua/lualdap: drop old version
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua/lualdap')
-rw-r--r--dev-lua/lualdap/lualdap-1.2.5.ebuild58
1 files changed, 0 insertions, 58 deletions
diff --git a/dev-lua/lualdap/lualdap-1.2.5.ebuild b/dev-lua/lualdap/lualdap-1.2.5.ebuild
deleted file mode 100644
index 9d530b5b471e..000000000000
--- a/dev-lua/lualdap/lualdap-1.2.5.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="A lua binding for the OpenLDAP client libraries"
-HOMEPAGE="https://github.com/lualdap/lualdap"
-SRC_URI="https://github.com/lualdap/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="luajit test"
-RESTRICT="test"
-
-RDEPEND="
- luajit? ( dev-lang/luajit:2 )
- !luajit? ( dev-lang/lua:0 )
- net-nds/openldap
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? ( ${RDEPEND} )
-"
-
-HTML_DOCS=( "doc/us/." )
-
-src_compile() {
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LBER_LIBDIR=/usr/$(get_libdir)"
- "LDAP_LIBDIR=/usr/$(get_libdir)"
- "LUA_INCDIR=$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))"
- )
-
- emake "${myemakeargs[@]}"
-}
-
-src_test() {
- LUA_CPATH="${S}/src/?.so" $(usex luajit 'luajit' 'lua') tests/test.lua
-}
-
-src_install() {
- # Workaround, as 'make install' does not create this directory
- dodir "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
-
- local myemakeargs=(
- "DESTDIR=${ED}"
- "INST_LIBDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
- )
-
- emake "${myemakeargs[@]}" install
-
- einstalldocs
-}