From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-lua/luacrypto/Manifest | 6 ++++ .../files/luacrypto-0.3.2-lualibdir.patch | 11 ++++++ dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild | 39 ++++++++++++++++++++++ dev-lua/luacrypto/metadata.xml | 8 +++++ 4 files changed, 64 insertions(+) create mode 100644 dev-lua/luacrypto/Manifest create mode 100644 dev-lua/luacrypto/files/luacrypto-0.3.2-lualibdir.patch create mode 100644 dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild create mode 100644 dev-lua/luacrypto/metadata.xml (limited to 'dev-lua/luacrypto') diff --git a/dev-lua/luacrypto/Manifest b/dev-lua/luacrypto/Manifest new file mode 100644 index 000000000000..a3f817a8212a --- /dev/null +++ b/dev-lua/luacrypto/Manifest @@ -0,0 +1,6 @@ +AUX luacrypto-0.3.2-lualibdir.patch 299 SHA256 b3be5db0329743f7a3f46377b5b06949633ee663a1f1efcd31bc1eae4a0a9d5c SHA512 cef182827a67229396dc53f0980829065f83fdd3a1bb6069e452b3945bd74459898954a2f1b3f9ada1d3834388446a720a3d24a1f070efdb814227ad94ea6735 WHIRLPOOL 73041363920c0a26f763669096231985963977098308e7c031dbe3cffb67cebbdf69b1057d3be290c76c91ab35594b49470b139f3cabf9eccaecca4c9d48adfd +DIST luacrypto-0.3.2.tar.gz 374363 SHA256 63c5d7e2539779039114335b9a8f149d63382c4db298d69e70488a0108143bb4 SHA512 4cb20d2cc348a11f140210dffb803629034c72cc7232590f4488f559d5c7233e0c41e56fcd0863959ac0b07e64c9aa79ea573e4126fdc11bc3f1b3b49d13343e WHIRLPOOL afb2ab562f4d983396debc68b48bbe295f90d9dd38fad5b9a474d7391783511ab4358e077ca3c383ba365766bc197685c5787686385c80a38425b89870542924 +EBUILD luacrypto-0.3.2-r1.ebuild 778 SHA256 f7fa388630e0b9b07eaa829a3cfc12ce2a8844e732791c213ef7e00517fd9db8 SHA512 eab4d0b16f1aeb932446c9dd5d00387934b9f93cc467923a2f2109cf8e01d7ca10b8b32796ebdadd0b5208e482d396b2da85482be58b27ad5e3b5e7305d4a492 WHIRLPOOL 6bc08efd4b83046841081a12235fbef222e5cd757e3bccab04b71232651c74a1fa97493e9d4cceb850bd3847b6f810069b99d3f9713e8fd94b83eade79b65520 +MISC ChangeLog 2798 SHA256 e9b7133ee172083527eda1e3634d4bb00523998ae97125bb6f5d6db06f834e20 SHA512 2017d547ba60d4f906b221bd61fcf7e8acaa61d70fd7d7bc3d6662ea92682636b5aa3f94a4a36b19c11a83ab5d26527a8478ff6a6260cffef3cf97229021cb82 WHIRLPOOL 912e9f74a954138c373f92a80852dae6d96b2cfb8a989ea5c4a57f8c6bee91161deda9a950fdec747111112c8366e8761008bbc4805639fb9e95137aba905aac +MISC ChangeLog-2015 1111 SHA256 14980f4ee4ca2511a4df0abd4bb4184f8291f8696cef083cea400b6ccb55f7ff SHA512 dd9b8f768d08fd2be74a5cbe3fbf09ae65ed65cea9815a43f21d1d0f0183d4ee68896e029de2b2e4bdae0a13dd1fe093842200b0b4e3d30309be724b0f63610b WHIRLPOOL 5bcaca5adfb4cd4129d094e2172b96a3a438ee3ac34f92720d2c8fca29a7a2997f8e7976bea1d92ba2384d6ca58f0ecce0a81c66247e06d0863218bfe391efc0 +MISC metadata.xml 255 SHA256 913b246a0b800d3928cb3674aea9be1de0d9ed8350fceb541f1ef40e8e14fcde SHA512 2cac273dcf66f34dd2c722aebdac845b9e22f513915d2ad8a0cf7e850b343bbf2724ae8dfe151b49dc57a87c85214d70e4ec081237e8ce8ba2c7d9dcd1675ce3 WHIRLPOOL 72a661bf8d79cd0bf38495e91f97cab4755ee5615765596f591e4fd63b3f321d548ad1ce448cf766caae9191400a23adbd6702f230a248c291acb125bf353213 diff --git a/dev-lua/luacrypto/files/luacrypto-0.3.2-lualibdir.patch b/dev-lua/luacrypto/files/luacrypto-0.3.2-lualibdir.patch new file mode 100644 index 000000000000..461e066865c2 --- /dev/null +++ b/dev-lua/luacrypto/files/luacrypto-0.3.2-lualibdir.patch @@ -0,0 +1,11 @@ +--- luacrypto-0.3.2/configure.ac ++++ luacrypto-0.3.2/configure.ac +@@ -31,7 +31,7 @@ + PKG_CHECK_MODULES([LUA], [lua]) + + # lua libdir +-LUALIBDIR="`$PKGCONFIG --variable=libdir lua`" ++LUALIBDIR="`$PKGCONFIG --variable=INSTALL_CMOD lua`" + + # dest of headers + CRYPTOINC="${includedir}/${PACKAGE_NAME}" diff --git a/dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild b/dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild new file mode 100644 index 000000000000..2166a46878b5 --- /dev/null +++ b/dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Lua frontend to OpenSSL" +HOMEPAGE="http://mkottman.github.io/luacrypto/ https://github.com/mkottman/luacrypto/" +SRC_URI="https://github.com/mkottman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl" + +RDEPEND=" + >=dev-lang/lua-5.1:0 + !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-lualibdir.patch + eautoreconf +} + +src_configure() { + econf --htmldir=/usr/share/doc/${PF}/html +} + +src_test() { + emake test +} + +src_install() { + default + prune_libtool_files --modules +} diff --git a/dev-lua/luacrypto/metadata.xml b/dev-lua/luacrypto/metadata.xml new file mode 100644 index 000000000000..b6155ce2e922 --- /dev/null +++ b/dev-lua/luacrypto/metadata.xml @@ -0,0 +1,8 @@ + + + + + + mkottman/luacrypto + + -- cgit v1.2.3