mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
openra: add man page
This commit is contained in:
parent
d88ea67fb7
commit
fab7a4c21f
@ -30,6 +30,7 @@ in stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ mono makeWrapper lua pkgconfig ];
|
nativeBuildInputs = [ mono makeWrapper lua pkgconfig ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
mkdir Support
|
||||||
sed -i 's/^VERSION.*/VERSION = release-${version}/g' Makefile
|
sed -i 's/^VERSION.*/VERSION = release-${version}/g' Makefile
|
||||||
substituteInPlace thirdparty/configure-native-deps.sh --replace "locations=\"" "locations=\"${lua}/lib "
|
substituteInPlace thirdparty/configure-native-deps.sh --replace "locations=\"" "locations=\"${lua}/lib "
|
||||||
substituteInPlace Makefile --replace "@./thirdparty/fetch-geoip-db.sh" ""
|
substituteInPlace Makefile --replace "@./thirdparty/fetch-geoip-db.sh" ""
|
||||||
@ -96,10 +97,9 @@ in stdenv.mkDerivation rec {
|
|||||||
make dependencies
|
make dependencies
|
||||||
'';
|
'';
|
||||||
|
|
||||||
#todo: man-page
|
buildFlags = [ "DEBUG=false" "default" "man-page" ];
|
||||||
buildFlags = [ "DEBUG=false" "default" ];
|
|
||||||
|
|
||||||
installTargets = [ "install" "install-linux-icons" "install-linux-desktop" "install-linux-appdata" "install-linux-mime" ];
|
installTargets = [ "install" "install-linux-icons" "install-linux-desktop" "install-linux-appdata" "install-linux-mime" "install-man-page" ];
|
||||||
|
|
||||||
postInstall = with stdenv.lib; let
|
postInstall = with stdenv.lib; let
|
||||||
runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ];
|
runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ];
|
||||||
|
Loading…
Reference in New Issue
Block a user