osm2xmap: clean up

Do not use DESTDIR and bring makeFlags more in line with the Makefile:
a5f9ceadf0/Makefile
This commit is contained in:
Jan Tojnar 2019-12-29 21:57:04 +01:00
parent 0ea38bd65a
commit 86d3c33475
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -12,18 +12,15 @@ stdenv.mkDerivation rec {
};
makeFlags = [
"GIT_VERSION=$(version)"
"GIT_VERSION=${version}"
"GIT_TIMESTAMP="
"SHAREDIR=$(out)/share/"
"INSTALL_BINDIR=$(out)/bin"
"INSTALL_MANDIR=$(out)/share/man/man1"
"INSTALL_SHAREDIR=$(out)/share/"
"SHAREDIR=${placeholder ''out''}/share/osm2xmap"
"INSTALL_BINDIR=${placeholder ''out''}/bin"
"INSTALL_MANDIR=${placeholder ''out''}/share/man/man1"
];
NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ];
installFlags = [ "DESTDIR=$(out)" ];
buildInputs = [ libroxml proj libyamlcpp boost ];
meta = with stdenv.lib; {