yodl: update from 2.14.3 to 3.03.0
This commit is contained in:
parent
38022c9938
commit
cb70b5a620
@ -1,31 +1,40 @@
|
|||||||
# This package is only used to create the documentation of zsh-cvs
|
{ stdenv, fetchurl, perl, icmake }:
|
||||||
# eg have a look at http://www.zsh.org/mla/users/2008/msg00715.html
|
|
||||||
# latest release is newer though
|
|
||||||
|
|
||||||
{ stdenv, fetchurl, perl }:
|
stdenv.mkDerivation rec {
|
||||||
|
name = "yodl-${version}";
|
||||||
|
version = "3.03.0";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
buildInputs = [ perl icmake ];
|
||||||
name = "yodl-2.14.3";
|
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/yodl/yodl_2.14.3.orig.tar.gz";
|
url = "mirror://sourceforge/yodl/yodl_${version}.orig.tar.gz";
|
||||||
sha256 = "0paypm76p34hap3d18vvks5rrilchcw6q56rvq6pjf9raqw8ynd4";
|
sha256 = "1gqlhal41fy5x2hs24j3nl8q9vrmdbpj4pdx73a6dln66kx8jgnk";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
|
||||||
[ (fetchurl {
|
|
||||||
url = "mirror://sourceforge/yodl/yodl_2.14.3-1.diff.gz";
|
|
||||||
sha256 = "176hlbiidv7p9051f04anzj4sr9dwlp9439f9mjvvgks47ac0qx4";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# This doesn't isntall docs yet, do you need them?
|
preConfigure = ''
|
||||||
installPhase = ''
|
patchShebangs scripts/.
|
||||||
# -> $out
|
sed -i 's;/usr;;g' INSTALL.im
|
||||||
sed -i "s@'/usr/@'$out/@" contrib/build.pl
|
substituteInPlace build --replace /usr/bin/icmake ${icmake}/bin/icmake
|
||||||
perl contrib/build.pl make-software
|
substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl
|
||||||
perl contrib/build.pl install-software
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
./build programs
|
||||||
|
./build man
|
||||||
|
./build macros
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
./build install programs $out
|
||||||
|
./build install man $out
|
||||||
|
./build install macros $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A package that implements a pre-document language and tools to process it";
|
||||||
|
homepage = http://yodl.sourceforge.net/;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ pSub ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user