hevea: update from 1.07 to 2.23
add meta-information and adopt it
This commit is contained in:
parent
a35161177e
commit
e0cc3efca2
@ -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
|
|
@ -1,9 +1,23 @@
|
|||||||
{stdenv, fetchurl, ocaml}: stdenv.mkDerivation {
|
{ stdenv, fetchurl, ocaml }:
|
||||||
name = "hevea-1.07";
|
|
||||||
builder = ./builder.sh;
|
stdenv.mkDerivation rec {
|
||||||
|
name = "hevea-2.23";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://pauillac.inria.fr/~maranget/hevea/distri/hevea-1.07.tar.gz;
|
url = "http://pauillac.inria.fr/~maranget/hevea/distri/${name}.tar.gz";
|
||||||
md5 = "561d7a2c10ea9e6a5b352c24d9b65998";
|
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];
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user