diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-12-12 21:34:05 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-12-13 09:15:54 +0100 |
commit | ff872a08294f8fb2215270e639614a2fed30073e (patch) | |
tree | dc44a453b86c938192d4c66eb41f379cf6be0055 /dev-ml/ocsigen-start | |
parent | dev-ml/ocaml-cstruct: bump to 2.3.1 (diff) | |
download | gentoo-ff872a08294f8fb2215270e639614a2fed30073e.tar.gz gentoo-ff872a08294f8fb2215270e639614a2fed30073e.tar.bz2 gentoo-ff872a08294f8fb2215270e639614a2fed30073e.zip |
dev-ml/ocsigen-start: initial import; ebuild by me
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml/ocsigen-start')
-rw-r--r-- | dev-ml/ocsigen-start/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/ocsigen-start/files/magick.patch | 13 | ||||
-rw-r--r-- | dev-ml/ocsigen-start/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ml/ocsigen-start/ocsigen-start-0.99.ebuild | 45 | ||||
-rw-r--r-- | dev-ml/ocsigen-start/ocsigen-start-9999.ebuild | 45 |
5 files changed, 112 insertions, 0 deletions
diff --git a/dev-ml/ocsigen-start/Manifest b/dev-ml/ocsigen-start/Manifest new file mode 100644 index 000000000000..3f3bb94d8b1a --- /dev/null +++ b/dev-ml/ocsigen-start/Manifest @@ -0,0 +1 @@ +DIST ocsigen-start-0.99.tar.gz 889806 SHA256 18670c3c80a482f7c66342c09f370ffacda8621417ec53eaf9c88bedd8be39e7 SHA512 2ba79409b714053900d747d9cd5a0860760c1c695299b85d3e79666c4c7921b23abd8625f358b6de18477f2ec21dd38080b10ce5f05bdf40373d405e0bb6d3fc WHIRLPOOL a059e7a1b01f87361a5850f819986640c914cd58fd10484d9dd02a3182af4204f1c544b1fc0dc6867bc7210822ed774caeec40a6f258174c0f7f9e24b0663c38 diff --git a/dev-ml/ocsigen-start/files/magick.patch b/dev-ml/ocsigen-start/files/magick.patch new file mode 100644 index 000000000000..ee4f068ed291 --- /dev/null +++ b/dev-ml/ocsigen-start/files/magick.patch @@ -0,0 +1,13 @@ +Index: ocsigen-start-9999/Makefile.options +=================================================================== +--- ocsigen-start-9999.orig/Makefile.options ++++ ocsigen-start-9999/Makefile.options +@@ -39,7 +39,7 @@ TEMPLATE_NAME := os.pgocaml + + # OCamlfind packages for the server + SERVER_PACKAGES := lwt.ppx js_of_ocaml.deriving.ppx calendar safepass \ +- ocsigen-toolkit.server magick yojson ++ ocsigen-toolkit.server libMagick yojson + + SERVER_DB_PACKAGES := pgocaml pgocaml.syntax macaque.syntax calendar safepass + diff --git a/dev-ml/ocsigen-start/metadata.xml b/dev-ml/ocsigen-start/metadata.xml new file mode 100644 index 000000000000..ffac4d7ebc01 --- /dev/null +++ b/dev-ml/ocsigen-start/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="project"> + <email>ml@gentoo.org</email> + <name>Gentoo ML Project</name> +</maintainer> +</pkgmetadata> diff --git a/dev-ml/ocsigen-start/ocsigen-start-0.99.ebuild b/dev-ml/ocsigen-start/ocsigen-start-0.99.ebuild new file mode 100644 index 000000000000..3439208e10f2 --- /dev/null +++ b/dev-ml/ocsigen-start/ocsigen-start-0.99.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit findlib eutils + +DESCRIPTION="Eliom Base Application with users, (pre)registration, notifications, etc." +HOMEPAGE="https://github.com/ocsigen/ocsigen-start" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +IUSE="" + +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/ocsigen/ocsigen-start" + KEYWORDS="" +else + SRC_URI="https://github.com/ocsigen/ocsigen-start/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RDEPEND="dev-lang/ocaml:= + dev-ml/pgocaml:= + dev-ml/macaque:= + dev-ml/ocaml-safepass:= + dev-ml/eliom:= + dev-ml/ocsigen-toolkit:= + dev-ml/ppx_deriving:= + dev-ml/yojson:= +" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/magick.patch" +} + +src_install() { + findlib_src_preinst + DESTDIR="${ED}" OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install + dodoc README.md +} diff --git a/dev-ml/ocsigen-start/ocsigen-start-9999.ebuild b/dev-ml/ocsigen-start/ocsigen-start-9999.ebuild new file mode 100644 index 000000000000..3439208e10f2 --- /dev/null +++ b/dev-ml/ocsigen-start/ocsigen-start-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit findlib eutils + +DESCRIPTION="Eliom Base Application with users, (pre)registration, notifications, etc." +HOMEPAGE="https://github.com/ocsigen/ocsigen-start" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +IUSE="" + +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/ocsigen/ocsigen-start" + KEYWORDS="" +else + SRC_URI="https://github.com/ocsigen/ocsigen-start/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RDEPEND="dev-lang/ocaml:= + dev-ml/pgocaml:= + dev-ml/macaque:= + dev-ml/ocaml-safepass:= + dev-ml/eliom:= + dev-ml/ocsigen-toolkit:= + dev-ml/ppx_deriving:= + dev-ml/yojson:= +" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/magick.patch" +} + +src_install() { + findlib_src_preinst + DESTDIR="${ED}" OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install + dodoc README.md +} |