summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-23 08:43:37 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-23 10:15:49 +0100
commitc27e2a76d9948f29443eaa3d6eddd20ee22848a3 (patch)
tree83b42720c47907cdafb651e46cde60b7f358a3c1 /dev-ml/xml-light/xml-light-2.2-r2.ebuild
parentdev-ml/opam: Add proper subslot for opam-lib (diff)
downloadgentoo-c27e2a76d9948f29443eaa3d6eddd20ee22848a3.tar.gz
gentoo-c27e2a76d9948f29443eaa3d6eddd20ee22848a3.tar.bz2
gentoo-c27e2a76d9948f29443eaa3d6eddd20ee22848a3.zip
dev-ml/xml-light: Remove old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml/xml-light/xml-light-2.2-r2.ebuild')
-rw-r--r--dev-ml/xml-light/xml-light-2.2-r2.ebuild51
1 files changed, 0 insertions, 51 deletions
diff --git a/dev-ml/xml-light/xml-light-2.2-r2.ebuild b/dev-ml/xml-light/xml-light-2.2-r2.ebuild
deleted file mode 100644
index 4f2636a5aa6e..000000000000
--- a/dev-ml/xml-light/xml-light-2.2-r2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib
-
-DESCRIPTION="Minimal Xml parser and printer for OCaml"
-HOMEPAGE="http://tech.motion-twin.com/xmllight.html"
-SRC_URI="http://tech.motion-twin.com/zip/${P}.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 x86"
-IUSE="doc"
-
-RDEPEND="dev-lang/ocaml:="
-DEPEND="app-arch/unzip
- ${RDEPEND}"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- EPATCH_FORCE=yes EPATCH_SUFFIX=dpatch EPATCH_SOURCE="${FILESDIR}" \
- epatch
-}
-
-src_compile() {
- emake -j1
- if use doc;then
- emake doc
- fi
-}
-
-src_install() {
- dodir /usr/$(get_libdir)/ocaml/${PN}
- emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml/${PN} install
- cat > "${D}"/usr/$(get_libdir)/ocaml/${PN}/META << EOF
-name="${PN}"
-version="${PV}"
-description="${DESCRIPTION}"
-requires=""
-archive(byte) = "xml-light.cma"
-EOF
- dodoc README
- if use doc; then
- emake doc
- dohtml doc/*
- fi
-}