summary refs log tree commit diff
path: root/pkgs/development/libraries/libpgf/default.nix
blob: f262a7da13148f26af804c5d44ea418c116d5b49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, autoconf, automake, libtool, dos2unix }:

with stdenv.lib;

let
  version = "6.14.12";
in
stdenv.mkDerivation {
  pname = "libpgf";
  inherit version;

  src = fetchurl {
    url = "mirror://sourceforge/libpgf/libpgf-src-${version}.tar.gz";
    sha256 = "1ssqjbh6l5jc04f67n47m9bqcigl46c6lgyabyi6cabnh1frk9dx";
  };

  buildInputs = [ autoconf automake libtool dos2unix ];

  preConfigure = "dos2unix configure.ac; sh autogen.sh";

# configureFlags = optional static "--enable-static --disable-shared";

  meta = {
    homepage = "http://www.libpgf.org/";
    description = "Progressive Graphics Format";
    license = stdenv.lib.licenses.lgpl21Plus;
    platforms = stdenv.lib.platforms.unix;
  };
}