mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
Install content pack
svn path=/nixpkgs/trunk/; revision=26767
This commit is contained in:
parent
a74ae1f6ff
commit
15b3a08448
@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "03mxmxpfdlsri0j3nqgyj2pc4gpzs8zq8qgg6qhnyazi7j95j4mk";
|
||||
};
|
||||
|
||||
contentPackSrc = fetchurl {
|
||||
url = mirror://sourceforge/rigsofrods/rigsofrods/0.37/content-pack-0.37.zip;
|
||||
sha256 = "0prvn8lxqazadad4mv0nilax9i4vqb9s7dp7mqzvqc0ycmcnf4ps";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
cmakeFlags = [
|
||||
@ -28,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
# "-DROR_USE_MOFILEREADER=TRUE"
|
||||
# "-DROR_USE_CAELUM=TRUE"
|
||||
# "-DROR_USE_PAGED=TRUE"
|
||||
# "-DROR_USE_ANGELSCRIPT=TRUE"
|
||||
"-DROR_USE_ANGELSCRIPT=TRUE"
|
||||
# "-DROR_USE_SOCKETW=TRUE"
|
||||
];
|
||||
|
||||
@ -47,6 +52,8 @@ stdenv.mkDerivation rec {
|
||||
echo "\"$out/share/rigsofrods/build-dir/bin/$i\"" >> "$out/bin/$i"
|
||||
chmod a+x "$out/bin/$i"
|
||||
done
|
||||
cd $out/share/rigsofrods/build-dir/bin/
|
||||
unzip "${contentPackSrc}"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user