Commit 0a3bfb43 authored by Herwig Hochleitner's avatar Herwig Hochleitner
Browse files

cdemu: use standard cmake build hook

parent 90bbb562
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -11,14 +11,6 @@ stdenv.mkDerivation ( {
    inherit hash;
  };
  nativeBuildInputs = nativeBuildInputs ++ [ pkg-config cmake ];
  setSourceRoot = ''
    mkdir build
    cd build
    sourceRoot="`pwd`"
  '';
  configurePhase = ''
    cmake ../${pname}-${version} -DCMAKE_INSTALL_PREFIX=$out -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON
  '';
  meta = with lib; {
    description = "A suite of tools for emulating optical drives and discs";
    longDescription = ''
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ callPackage ./base.nix {
  buildInputs = [ glib libao libmirage ];
  extraDrvParams.postInstall = ''
    mkdir -p $out/share/dbus-1/services
    cp -R ../$pname-$version/service-example $out/share/cdemu
    cp -R ../service-example $out/share/cdemu
    substitute \
      $out/share/cdemu/net.sf.cdemu.CDEmuDaemon.service \
      $out/share/dbus-1/services/net.sf.cdemu.CDEmuDaemon.service \