mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-lua/luarocks: drop old version
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST luarocks-3.3.1.tar.gz 241636 BLAKE2B fd34d7a233bbf1c5f224bd04886a7f1382d63ffc014c8b78ae7924fb799d66a32e048298deed103686771263885c85c9173c013d1bbb3bad6a48e9fd99fdaac0 SHA512 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a
|
||||
DIST luarocks-3.5.0.tar.gz 244798 BLAKE2B 24ceead8953ad6d9eefbf471fd49e0bd82256cc00c201395770919a680873544db67f062a4af93ddd390985b0b74db55e37a95516287dfc1e077a25b67c9f264 SHA512 fda01b7149839adf7c0e1c05d0f1793e79575c5d378d96ee1e197828e9b9b6e89a635f8a26a5b71db5b48465ef74b219fac18ecdbd59962cbf9da613b05dd42a
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A deployment and management system for Lua modules"
|
||||
HOMEPAGE="http://www.luarocks.org"
|
||||
SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="libressl"
|
||||
|
||||
DEPEND="dev-lang/lua:0="
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/curl
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl:0 )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
# econf doesn't work b/c it passes variables the custom configure can't
|
||||
# handle
|
||||
./configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--with-lua-lib="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--rocks-tree="${EPREFIX}/usr/$(get_libdir)/lua/luarocks" \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
{ find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die "sed failed"
|
||||
}
|
||||
Reference in New Issue
Block a user