public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-lua/lua-md5/, dev-lua/lua-md5/files/
@ 2018-09-11 14:45 Martin Mokrejs
  0 siblings, 0 replies; only message in thread
From: Martin Mokrejs @ 2018-09-11 14:45 UTC (permalink / raw
  To: gentoo-commits

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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-11 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-11 14:45 [gentoo-commits] proj/sci:master commit in: dev-lua/lua-md5/, dev-lua/lua-md5/files/ Martin Mokrejs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox