From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-lua/lua-md5/, dev-lua/lua-md5/files/
Date: Tue, 11 Sep 2018 14:45:41 +0000 (UTC) [thread overview]
Message-ID: <1536677121.5bd33921d60b0f5dbf2eef66a41bcd02cdc45a01.mmokrejs@gentoo> (raw)
commit: 5bd33921d60b0f5dbf2eef66a41bcd02cdc45a01
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Sep 11 14:41:35 2018 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Sep 11 14:45:21 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5bd33921
dev-lua/lua-md5: new package needed by sci-biology/genometools
I am not interested in maintaining this any further.
Package-Manager: Portage-2.3.48, Repoman-2.3.10
.../files/lua-md5-1.2-respect-DESTDIR.patch | 19 ++++++++++++++++
dev-lua/lua-md5/lua-md5-1.2.ebuild | 25 ++++++++++++++++++++++
dev-lua/lua-md5/metadata.xml | 8 +++++++
3 files changed, 52 insertions(+)
diff --git a/dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch b/dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch
new file mode 100644
index 000000000..9f7e71027
--- /dev/null
+++ b/dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch
@@ -0,0 +1,19 @@
+--- Makefile.ori 2018-09-11 16:35:19.884248326 +0200
++++ Makefile 2018-09-11 16:35:22.214321658 +0200
+@@ -22,11 +22,11 @@
+ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(DES56_LIBNAME) $(DES56_OBJS) $(COMPAT52_OBJS)
+
+ install: src/$(MD5_LIBNAME) src/$(DES56_LIBNAME)
+- mkdir -p $(LUA_LIBDIR)/md5
+- cp src/$(MD5_LIBNAME) $(LUA_LIBDIR)/md5/core.so
+- mkdir -p $(LUA_DIR)
+- cp $(MD5_LUAS) $(LUA_DIR)
+- cp src/$(DES56_LIBNAME) $(LUA_LIBDIR)
++ mkdir -p $(DESTDIR)/$(LUA_LIBDIR)/md5
++ cp src/$(MD5_LIBNAME) $(DESTDIR)/$(LUA_LIBDIR)/md5/core.so
++ mkdir -p $(DESTDIR)/$(LUA_DIR)
++ cp $(MD5_LUAS) $(DESTDIR)/$(LUA_DIR)
++ cp src/$(DES56_LIBNAME) $(DESTDIR)/$(LUA_LIBDIR)
+
+ clean:
+ rm -f $(MD5_OBJS) src/$(MD5_LIBNAME) $(DES56_OBJS) src/$(DES56_LIBNAME) $(COMPAT52_OBJS)
diff --git a/dev-lua/lua-md5/lua-md5-1.2.ebuild b/dev-lua/lua-md5/lua-md5-1.2.ebuild
new file mode 100644
index 000000000..14a644702
--- /dev/null
+++ b/dev-lua/lua-md5/lua-md5-1.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Basic cryptographic facilities for Lua 5.0, 5.1 or 5.2"
+HOMEPAGE="http://keplerproject.github.io/md5"
+SRC_URI="https://github.com/keplerproject/md5/archive/v1.2.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/md5-"${PV}"
+
+src_prepare(){
+ epatch "${FILESDIR}"/lua-md5-1.2-respect-DESTDIR.patch
+ default
+}
diff --git a/dev-lua/lua-md5/metadata.xml b/dev-lua/lua-md5/metadata.xml
new file mode 100644
index 000000000..4163b4b2a
--- /dev/null
+++ b/dev-lua/lua-md5/metadata.xml
@@ -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>mmokrejs@fold.natur.cuni.cz</email>
+ <name>Martin Mokrejs</name>
+ </maintainer>
+</pkgmetadata>
reply other threads:[~2018-09-11 14:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1536677121.5bd33921d60b0f5dbf2eef66a41bcd02cdc45a01.mmokrejs@gentoo \
--to=mmokrejs@fold.natur.cuni.cz \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox