xprintidle-ng: simplify gnulib usage

This commit is contained in:
Benno Fünfstück 2020-02-23 19:17:03 +01:00
parent 9d5cc98363
commit 4ca87c08a2

View File

@ -19,20 +19,18 @@ stdenv.mkDerivation rec {
--replace "AC_PREREQ([2.62])" "AC_PREREQ([2.63])"
'';
nativeBuildInputs = [
nativeBuildInputs = [
autoconf automake gettext git gnulib
help2man libtool perl pkgconfig texinfo
];
configurePhase = ''
cp -r "${gnulib}" gnulib
chmod a+rX,u+w -R gnulib
./bootstrap --gnulib-srcdir=gnulib
./bootstrap --gnulib-srcdir=${gnulib}
./configure --prefix="$out"
'';
buildInputs = [
libX11 libXScrnSaver libXext
libX11 libXScrnSaver libXext
];
meta = {