Merge pull request #38541 from sifmelcara/fix/pcmanx/libtoolize
pcmanx-gtk2: fix build
This commit is contained in:
commit
b214874bda
@ -1,10 +1,14 @@
|
||||
{ stdenv, fetchurl, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pcmanx-gtk2-1.3";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pcman-bbs/pcmanx/archive/1.3.tar.gz";
|
||||
sha256 = "2e5c59f6b568036f2ad6ac67ca2a41dfeeafa185451e507f9fb987d4ed9c4302";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pcmanx-gtk2-${version}";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pcman-bbs";
|
||||
repo = "pcmanx";
|
||||
rev = version;
|
||||
sha256 = "0fbwd149wny67rfhczz4cbh713a1qnswjiz7b6c2bxfcwh51f9rc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
@ -12,6 +16,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
# libtoolize generates configure script which uses older version of automake, we need to autoreconf it
|
||||
cd libltdl; autoreconf; cd ..
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user