mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
205e338a83
4.6.0 fixes the build with current gcc/glibc, and libpgf was a new requirement.
(cherry picked from commit 91b63783e1
)
28 lines
666 B
Nix
28 lines
666 B
Nix
{ stdenv, fetchurl, autoconf, automake, libtool, dos2unix }:
|
|
|
|
with stdenv.lib;
|
|
|
|
let
|
|
version = "6.14.12";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "libpgf-${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;
|
|
};
|
|
}
|