hevea: update from 1.07 to 2.23

add meta-information and adopt it
This commit is contained in:
Pascal Wittmann 2015-05-31 16:07:06 +02:00
parent a35161177e
commit e0cc3efca2
2 changed files with 20 additions and 20 deletions

View file

@ -1,14 +0,0 @@
set -e
source $stdenv/setup
mkdir -p $out/bin $out/lib
tar xvfz $src
cd hevea-*
sed s+/usr/local+$out+ Makefile > Makefile.new
mv Makefile.new Makefile
make
make install

View file

@ -1,9 +1,23 @@
{stdenv, fetchurl, ocaml}: stdenv.mkDerivation {
name = "hevea-1.07";
builder = ./builder.sh;
{ stdenv, fetchurl, ocaml }:
stdenv.mkDerivation rec {
name = "hevea-2.23";
src = fetchurl {
url = http://pauillac.inria.fr/~maranget/hevea/distri/hevea-1.07.tar.gz;
md5 = "561d7a2c10ea9e6a5b352c24d9b65998";
url = "http://pauillac.inria.fr/~maranget/hevea/distri/${name}.tar.gz";
sha256 = "1f9pj48518ixhjxbviv2zx27v4anp92zgg3x704g1s5cki2w33nv";
};
buildInputs = [ ocaml ];
configurePhase = ''
export makeFlags="PREFIX=$out";
'';
meta = with stdenv.lib; {
description = "A quite complete and fast LATEX to HTML translator";
homepage = http://pauillac.inria.fr/~maranget/hevea/;
license = licenses.qpl;
maintainers = with maintainers; [ pSub ];
};
buildInputs = [ocaml];
}