Merge pull request #31416 from earldouglas/ebook2cw
ebook2cw: init at 0.8.2
This commit is contained in:
commit
0a51e1b3b8
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/ebook2cw.c 2017-11-08 19:52:58.298131348 -0700
|
||||||
|
+++ b/ebook2cw.c 2017-11-08 19:53:02.588231067 -0700
|
||||||
|
@@ -136,7 +136,7 @@
|
||||||
|
char isomap[256][4]; /* by these strings */
|
||||||
|
char utf8map[256][8];
|
||||||
|
|
||||||
|
- char configfile[1025];
|
||||||
|
+ char configfile[2048];
|
||||||
|
|
||||||
|
char id3_author[80],
|
||||||
|
id3_title[80],
|
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, fetchsvn, lame, libvorbis }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
name = "ebook2cw-${version}";
|
||||||
|
version = "0.8.2";
|
||||||
|
|
||||||
|
src = fetchsvn {
|
||||||
|
url = "svn://svn.fkurz.net/ebook2cw/tags/${name}";
|
||||||
|
sha256 = "1mvp3nz3k76v757792n9b7fcm5jm3jcwarl1k7cila9fi0c2rsiw";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ lame libvorbis ];
|
||||||
|
|
||||||
|
patches = [ ./configfile.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace gcc cc
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [ "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Convert ebooks to Morse MP3s/OGGs";
|
||||||
|
homepage = http://fkurz.net/ham/ebook2cw.html;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ earldouglas ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -124,6 +124,8 @@ with pkgs;
|
||||||
|
|
||||||
dump1090 = callPackage ../applications/misc/dump1090 { };
|
dump1090 = callPackage ../applications/misc/dump1090 { };
|
||||||
|
|
||||||
|
ebook2cw = callPackage ../applications/misc/ebook2cw { };
|
||||||
|
|
||||||
vsenv = callPackage ../build-support/vsenv {
|
vsenv = callPackage ../build-support/vsenv {
|
||||||
vs = vs90wrapper;
|
vs = vs90wrapper;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue