parent
c245e9d2ff
commit
f7989948f9
|
@ -1,24 +1,20 @@
|
||||||
{ lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix }:
|
{ lib, stdenv, fetchzip, autoreconfHook }:
|
||||||
|
|
||||||
with lib;
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
let
|
|
||||||
version = "6.14.12";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "libpgf";
|
pname = "libpgf";
|
||||||
inherit version;
|
version = "7.21.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "mirror://sourceforge/libpgf/libpgf-src-${version}.tar.gz";
|
url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}.zip";
|
||||||
sha256 = "1ssqjbh6l5jc04f67n47m9bqcigl46c6lgyabyi6cabnh1frk9dx";
|
sha256 = "0l1j5b1d02jn27miggihlppx656i0pc70cn6x89j1rpj33zn0g9r";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ autoconf automake libtool dos2unix ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
preConfigure = "dos2unix configure.ac; sh autogen.sh";
|
autoreconfPhase = ''
|
||||||
|
mv README.txt README
|
||||||
# configureFlags = optional static "--enable-static --disable-shared";
|
sh autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://www.libpgf.org/";
|
homepage = "https://www.libpgf.org/";
|
||||||
|
|
Loading…
Reference in New Issue