diff --git a/pkgs/applications/misc/cdrtools/builder.sh b/pkgs/applications/misc/cdrtools/builder.sh new file mode 100644 index 00000000000..0e2afe08299 --- /dev/null +++ b/pkgs/applications/misc/cdrtools/builder.sh @@ -0,0 +1,11 @@ +source $stdenv/setup + +prefix=$out + +configurePhase() { + echo ; +} + +configurePhase=configurePhase + +genericBuild diff --git a/pkgs/applications/misc/cdrtools/cdrtools-2.01-install.patch b/pkgs/applications/misc/cdrtools/cdrtools-2.01-install.patch new file mode 100644 index 00000000000..a8d93d36998 --- /dev/null +++ b/pkgs/applications/misc/cdrtools/cdrtools-2.01-install.patch @@ -0,0 +1,13 @@ +diff -ruN cdrtools-2.01/DEFAULTS/Defaults.linux cdrtools-2.01.new/DEFAULTS/Defaults.linux +--- cdrtools-2.01/DEFAULTS/Defaults.linux 2003-02-16 01:01:48.000000000 +0100 ++++ cdrtools-2.01.new/DEFAULTS/Defaults.linux 2005-08-30 21:13:55.000000000 +0200 +@@ -27,7 +27,8 @@ + # Installation config stuff + # + ########################################################################### +-INS_BASE= /opt/schily ++#INS_BASE= /opt/schily ++INS_BASE= $(out) + INS_KBASE= / + # + DEFUMASK= 002 diff --git a/pkgs/applications/misc/cdrtools/default.nix b/pkgs/applications/misc/cdrtools/default.nix new file mode 100644 index 00000000000..4c00e13c59b --- /dev/null +++ b/pkgs/applications/misc/cdrtools/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "cdrtools-2.01"; + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.berlios.de/pub/cdrecord/cdrtools-2.01.tar.bz2; + md5 = "d44a81460e97ae02931c31188fe8d3fd"; + }; + patches = [./cdrtools-2.01-install.patch]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 108040fc800..163fcd12a12 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -1413,6 +1413,10 @@ rec { gtksharp = gtksharp1; }; + cdrtools = (import ../applications/misc/cdrtools) { + inherit fetchurl stdenv; + }; + hello = (import ../applications/misc/hello/ex-1) { inherit fetchurl stdenv perl; };