summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-09-15 14:31:18 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-09-15 14:31:18 +0000
commit6affc68b1f3e7789dd25e36b774cf817fcd60dc1 (patch)
tree7ac63735f69526198953f3e29c5d6e8b6dc971b9 /dev-ml/ocamlpam
parentAdd Ubuntu wallpapers. (diff)
downloadhistorical-6affc68b1f3e7789dd25e36b774cf817fcd60dc1.tar.gz
historical-6affc68b1f3e7789dd25e36b774cf817fcd60dc1.tar.bz2
historical-6affc68b1f3e7789dd25e36b774cf817fcd60dc1.zip
initial import, ebuild by Jacques-Pascal Deplaix, bug #425094
Package-Manager: portage-2.2.0_alpha128/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/ocamlpam')
-rw-r--r--dev-ml/ocamlpam/ChangeLog10
-rw-r--r--dev-ml/ocamlpam/Manifest15
-rw-r--r--dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch17
-rw-r--r--dev-ml/ocamlpam/metadata.xml5
-rw-r--r--dev-ml/ocamlpam/ocamlpam-1.1.ebuild37
5 files changed, 84 insertions, 0 deletions
diff --git a/dev-ml/ocamlpam/ChangeLog b/dev-ml/ocamlpam/ChangeLog
new file mode 100644
index 000000000000..6d8f6adeed20
--- /dev/null
+++ b/dev-ml/ocamlpam/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ml/ocamlpam
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlpam/ChangeLog,v 1.1 2012/09/15 14:31:18 aballier Exp $
+
+*ocamlpam-1.1 (15 Sep 2012)
+
+ 15 Sep 2012; Alexis Ballier <aballier@gentoo.org> +ocamlpam-1.1.ebuild,
+ +files/ocamlpam-1.1-makefile.patch, +metadata.xml:
+ initial import, ebuild by Jacques-Pascal Deplaix, bug #425094
+
diff --git a/dev-ml/ocamlpam/Manifest b/dev-ml/ocamlpam/Manifest
new file mode 100644
index 000000000000..593f4a60cb46
--- /dev/null
+++ b/dev-ml/ocamlpam/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX ocamlpam-1.1-makefile.patch 512 SHA256 5e6e30b0b4dfaea1f04e03f09f7cadba3597bac7951b2daf5b8452a90940c838 SHA512 895b33ede124fec4098e17b6042381657850f488f88f1f84dac1f220798f7f7147a4566c059564838c083fbd3c97e8c0f372cb2a60e771c4fa4c945b110397d7 WHIRLPOOL d5278eb5e6e9afa0dc2c6edfeb3c65fa4cde2e36563827bb19722d2259fe918f700db77c956398dbff5d633213a455657f82cce17861f986491dd119736d109a
+DIST ocamlpam-1.1.tar.gz 7739 SHA256 e4e95614a858dc2d1991d789fa4d52d0e8181a1a097bba4933b2990b536e9b21 SHA512 84199a1e94db93952fd058c3bf03865c058abc0bb5fe09b489717e7aa77687496d40d80ed00be99e59e58c13b044356a05cae5f5aebf4faec470b66696042762 WHIRLPOOL dd94592ed42d0f84cafe894b12864c3b859bed4635af687d98b296414a9e6f8a83a47f47b3e8baaba1d7fd67d299b9dff9d960b582362247d6a47a00ae347e7b
+EBUILD ocamlpam-1.1.ebuild 872 SHA256 8d6f198a1ad48d8bae0f161e0d5fa6e545e434512050abbb7599943a48e39ba4 SHA512 3a1c9826176979f04900d3f473c218b56ba078053748cc25cfa6d16a7ff7c0867e3816455d6beb94177879095f01f25e12361cee57b6d507c0c37964c17c3c16 WHIRLPOOL 965bdb399a4a017cdde7abad81cf75a4b0488383d6cc30c24c68d47616aace695899dd79a711f86a68e3066731db0281a5b0cbf4e8ab39f5fa545200a6c76b56
+MISC ChangeLog 426 SHA256 25aec7e64c06fb9214f1c485aab003c41980e1cb79a8fc795e11d622f4edb517 SHA512 4352069ac701346618e5807894a4bb08db7559127eb9219aca2a2ca11e61ac292186d3b4d603c463818ea8b223bd2a402d40c258374e735354bcd7a8d244856b WHIRLPOOL b35c343fcde57b4ac172c7d7b69f8440a91e4cd373b698bbd4c8dcf269831d603767705fd0012b8793f9f6a6bb2f85e03fe046b2b6767be00ba6a63d7317d0d6
+MISC metadata.xml 155 SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 SHA512 a525f91dd332fc144c42d1437bdae9c889cbcece6294c2d2f4baf6a532ac2e13492736e75b41c83fac31033a9ae53c37deb96286a5ab8575611136617640952c WHIRLPOOL 71a9c7aaf4e268c65c0d1e30e343911ccbcf99ef8c23773abc2b3af8d58d9f7d5c09632805d8ba9050c09eef629f2b340db9eb9ba8b9cd2e5d655fce3f91fcb6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlBUkT4ACgkQvFcC4BYPU0rc4wCeK54vIEEYMuwWfAz4PbQ3fbR+
+9CYAnA8B17m8MBCXEhbLQYuIeedyWmvp
+=44CN
+-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch b/dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch
new file mode 100644
index 000000000000..c9450b7f30dc
--- /dev/null
+++ b/dev-ml/ocamlpam/files/ocamlpam-1.1-makefile.patch
@@ -0,0 +1,17 @@
+--- a/Makefile 2012-09-14 22:46:11.508415083 +0200
++++ b/Makefile 2012-09-14 22:46:34.526338371 +0200
+@@ -35,10 +35,13 @@
+
+ install:
+ install -d $(DESTDIR)/pam
+- install -m 644 -t $(DESTDIR)/pam META *.mli *.cmi *.cmx *.cma *.cmxa *.a
++ install -m 644 -t $(DESTDIR)/pam META *.mli *.cmi *.cma *.a
+ install -d $(DESTDIR)/stublibs
+ install -m 644 -t $(DESTDIR)/stublibs dll$(BASENAME).so
+
++install-opt:
++ install -m 644 -t $(DESTDIR)/pam *.cmx *.cmxa
++
+ dist: clean
+ mkdir -p $(DISTNAME)
+ -cp * $(DISTNAME)
diff --git a/dev-ml/ocamlpam/metadata.xml b/dev-ml/ocamlpam/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/dev-ml/ocamlpam/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamlpam/ocamlpam-1.1.ebuild b/dev-ml/ocamlpam/ocamlpam-1.1.ebuild
new file mode 100644
index 000000000000..f665571f8620
--- /dev/null
+++ b/dev-ml/ocamlpam/ocamlpam-1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlpam/ocamlpam-1.1.ebuild,v 1.1 2012/09/15 14:31:18 aballier Exp $
+
+EAPI=4
+
+inherit findlib eutils
+
+DESCRIPTION="OCamlPAM - an OCaml library for PAM"
+HOMEPAGE="http://sharvil.nanavati.net/projects/ocamlpam/"
+SRC_URI="http://sharvil.nanavati.net/projects/${PN}/files/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]
+ sys-libs/pam"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+ emake META
+ emake byte
+ use ocamlopt && emake opt
+}
+
+src_install() {
+ findlib_src_preinst
+ emake DESTDIR="${OCAMLFIND_DESTDIR}" install
+ use ocamlopt && emake DESTDIR="${OCAMLFIND_DESTDIR}" install-opt
+ dodoc CHANGES README
+}