diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-02-09 20:44:26 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-02-09 20:44:26 +0000 |
commit | 18cc7f4b378b9938de574ef04b2567510eecb66e (patch) | |
tree | de3101bd1fa1bdebb21728b84ad0f20ced899aa4 /pkgs/applications/graphics/comical | |
parent | 921b7d3c6948fca1e758b99ea186a386685358ea (diff) |
Adding comical-0.8
svn path=/nixpkgs/trunk/; revision=14016
Diffstat (limited to 'pkgs/applications/graphics/comical')
-rw-r--r-- | pkgs/applications/graphics/comical/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/comical/default.nix b/pkgs/applications/graphics/comical/default.nix new file mode 100644 index 000000000000..db6f57468256 --- /dev/null +++ b/pkgs/applications/graphics/comical/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, wxGTK, utillinux, zlib }: + +stdenv.mkDerivation { + name = "comical-0.8"; + src = fetchurl { + url = mirror://sourceforge/comical/comical-0.8.tar.gz; + sha256 = "0b6527cc06b25a937041f1eb248d0fd881cf055362097036b939817f785ab85e"; + }; + buildInputs = [ wxGTK utillinux zlib ]; + patchPhase = '' + sed -i -e 's@"zlib\\.h"@<zlib.h>@' unzip/unzip.h + sed -i -e 's@/usr/local@'$out@ \ + -e 's@-lminiunzip@-lminiunzip -lz@' Makefile + ''; + + installPhase = "mkdir -p $out/bin ; make install"; + + meta = { + description = "Viewer of CBR and CBZ files, often used to store scanned comics"; + homepage = http://comical.sourceforge.net/; + license = "GPLv2+"; + }; +} |