1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 version = "3.08";
5 name = "epstool-${version}";
6
7 src = fetchurl {
8 url = "http://ftp.de.debian.org/debian/pool/main/e/epstool/epstool_${version}+repack.orig.tar.gz";
9 sha256 = "1pfgqbipwk36clhma2k365jkpvyy75ahswn8jczzys382jalpwgk";
10 };
11
12 installPhase = ''
13 make EPSTOOL_ROOT=$out install
14 '';
15
16 patches = [ ./gcc43.patch ];
17
18 meta = with stdenv.lib; {
19 description = "A utility to create or extract preview images in EPS files, fix bounding boxes and convert to bitmaps";
20 homepage = http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm;
21 license = licenses.gpl2;
22 maintainers = [ maintainers.asppsa ];
23 platforms = platforms.linux;
24 };
25}