3
0
Fork 0
forked from mirrors/nixpkgs

neardal: add 'ncl' and 'demo' application

This commit is contained in:
Thomas Strobel 2015-09-30 16:05:54 +02:00
parent 1ddc1cdcf2
commit ca4a4714ef

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, pkgconfig, glib, readline }:
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, pkgconfig, glib, readline, makeWrapper }:
stdenv.mkDerivation rec {
name = "neardal-0.7-post-git-20150930";
@ -10,9 +10,11 @@ stdenv.mkDerivation rec {
sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g";
};
buildInputs = [ autoconf automake libtool pkgconfig glib readline ];
buildInputs = [ autoconf automake libtool pkgconfig glib readline makeWrapper ];
preConfigure = ''
substituteInPlace "ncl/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
substituteInPlace "demo/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
sh autogen.sh
'';