ChangeLog

# ChangeLog for dev-ml/camlzip
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlzip/ChangeLog,v 1.13 2008/04/06 19:44:51 aballier Exp $

06 Apr 2008; Alexis Ballier
-files/camlzip-1.01-Makefile-findlib.patch, -camlzip-1.01-r1.ebuild:
remove old

06 Apr 2008; Markus Meier camlzip-1.03-r1.ebuild:
x86 stable, bug #215748

03 Apr 2008; Brent Baude camlzip-1.03-r1.ebuild:
stable ppc, bug 215748

02 Jan 2008; Alexis Ballier camlzip-1.03-r1.ebuild:
Add support to not build with ocamlopt

10 Nov 2007; Alexis Ballier
files/camlzip-1.03-Makefile-findlib.patch:
dont install intermediate objects

10 Nov 2007; Alexis Ballier camlzip-1.01-r1.ebuild:
quote dir variables

10 Nov 2007; Alexis Ballier -camlzip-1.03.ebuild:
cleanup unused version

*camlzip-1.03-r1 (10 Nov 2007)

10 Nov 2007; Alexis Ballier
+files/camlzip-1.03-Makefile-findlib.patch, +camlzip-1.03-r1.ebuild:
also install zlib support, thanks to Pierre Clairambault
, bug #198466

*camlzip-1.03 (26 May 2007)

26 May 2007; Alexis Ballier +camlzip-1.03.ebuild:
Version bump, ~amd64, closes bug #147523

09 Feb 2007; Diego Pettenò ChangeLog:
Regenerate digest in Manifest2 format.

26 Aug 2004; Matthieu Sozeau camlzip-1.01-r1.ebuild,
-camlzip-1.01.ebuild:
Move to stable (not depended on), remove old version.

*camlzip-1.01-r1 (25 Aug 2004)

25 Aug 2004; Matthieu Sozeau files/META,
+files/camlzip-1.01-Makefile-findlib.patch, +camlzip-1.01-r1.ebuild:
Move to findlib eclass, ebuild cleanup.

*camlzip-1.01 (18 Aug 2004)

18 Aug 2004; Matthieu Sozeau camlzip-1.01.ebuild,
metadata.xml, files/META:
Add camlzip, an ocaml library to access compressed files (g?zip, jar), thanks
to Julien TIERNY for the ebuild (bug #50621)

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX META 107 RMD160 992232915a3f342d271f0235312bc493ef352d63 SHA1 5644e5940c369c51408f6758a664f8eeefb280a0 SHA256 e818e62be2760d708d62e2e4ef2fcea19b794f9b8d49a60b98c30951510bb5de
AUX camlzip-1.03-Makefile-findlib.patch 1005 RMD160 29f407e87f54c0b1ffd702b20ed326535f29f6e1 SHA1 dc8b860badb2badff0a9c89a3844941254b37918 SHA256 1e5e0b3d647a58fc3c02c77ee608db484aae5e30926d896d07802e5e714e71c8
DIST camlzip-1.03.tar.gz 24562 RMD160 fc773c0e351863538817f5c803a1b1d6cf9bc6e5 SHA1 ecb4cbbdeb673d0aacdc961f38e4a14d5cf1627b SHA256 d45af5deee6126137eb1bd896373ceeabacb916e30b977122de2eb3134336f08
EBUILD camlzip-1.03-r1.ebuild 1298 RMD160 3f2eb73b4bd5afa3a1b83e97acb7e6db1ce78d06 SHA1 60b190077750253d859b998f093841adc61851e6 SHA256 420126ca73cfc7d046a30264e0b40b14e5e006dc0b129551ebaa9c579856695a
MISC ChangeLog 2141 RMD160 85988b213ad2721acb526c26c8b248fc354d3b87 SHA1 a258b5c7c71737a419055d15529b21ffb85030e2 SHA256 edd33fabe12776ba7c1d3827f72ae72bf6c5505682b4740dff987bdeb3484916
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkf5KDoACgkQvFcC4BYPU0ponACgjMvCLhbZcQW1ThtW6IpFwqvW
8hcAoKc9AxjR49KVykUEsbNPMski6f0/
=VahE
-----END PGP SIGNATURE-----

camlzip-1.03-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlzip/camlzip-1.03-r1.ebuild,v 1.4 2008/04/06 19:30:39 maekke Exp $

inherit findlib eutils

EAPI="1"

IUSE="+ocamlopt"

DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
HOMEPAGE="http://cristal.inria.fr/~xleroy/software.html#camlzip"
SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz"

SLOT="1"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ppc x86"

DEPEND=">=dev-lang/ocaml-3.04 \
>=sys-libs/zlib-1.1.3"

pkg_setup() {
if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
eerror "In order to build ${PN} with native code support from ocaml"
eerror "You first need to have a native code ocaml compiler."
eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
die "Please install ocaml with ocamlopt useflag"
fi
}

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-Makefile-findlib.patch"
sed -e "s/VERSION/${PV}/" "${FILESDIR}/META" >> META
}

src_compile() {
emake all || die "Failed at compilation step !!!"
if use ocamlopt; then
emake allopt || die "Failed at ML compilation step !!!"
fi
}

src_install() {
findlib_src_install

dodoc README
}

files

metadata.xml




ml