about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/cdrtools/default.nix37
-rw-r--r--pkgs/applications/misc/cdrtools/fix-paths.patch32
2 files changed, 0 insertions, 69 deletions
diff --git a/pkgs/applications/misc/cdrtools/default.nix b/pkgs/applications/misc/cdrtools/default.nix
deleted file mode 100644
index 20bfe727f6d3e..0000000000000
--- a/pkgs/applications/misc/cdrtools/default.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ stdenv, fetchurl, acl, libcap, Carbon, IOKit }:
-
-stdenv.mkDerivation rec {
-  pname = "cdrtools";
-  version = "3.02a06";
-
-  src = fetchurl {
-    url = "mirror://sourceforge/cdrtools/${pname}-${version}.tar.bz2";
-    sha256 = "1cayhfbhj5g2vgmkmq5scr23k0ka5fsn0dhn0n9yllj386csnygd";
-  };
-
-  patches = [ ./fix-paths.patch ];
-
-  buildInputs = if stdenv.isDarwin then [ Carbon IOKit ] else [ acl libcap ];
-
-  postPatch = ''
-    sed "/\.mk3/d" -i libschily/Targets.man
-    substituteInPlace man/Makefile --replace "man4" ""
-  '';
-
-  dontConfigure = true;
-
-  GMAKE_NOWARN = true;
-
-  makeFlags = [ "INS_BASE=/" "INS_RBASE=/" "DESTDIR=$(out)" ];
-
-  meta = with stdenv.lib; {
-    homepage = https://sourceforge.net/projects/cdrtools/;
-    description = "Highly portable CD/DVD/BluRay command line recording software";
-    license = with licenses; [ gpl2 lgpl2 cddl ];
-    platforms = with platforms; linux ++ darwin;
-    # Licensing issues: This package contains code licensed under CDDL, GPL2
-    # and LGPL2. There is a debate regarding the legality of distributing this
-    # package in binary form.
-    hydraPlatforms = [];
-  };
-}
diff --git a/pkgs/applications/misc/cdrtools/fix-paths.patch b/pkgs/applications/misc/cdrtools/fix-paths.patch
deleted file mode 100644
index f4a541210880b..0000000000000
--- a/pkgs/applications/misc/cdrtools/fix-paths.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -ru3 cdrtools-3.01-old/DEFAULTS/Defaults.linux cdrtools-3.01/DEFAULTS/Defaults.linux
---- cdrtools-3.01-old/DEFAULTS/Defaults.linux	2015-12-11 17:37:21.505848835 +0300
-+++ cdrtools-3.01/DEFAULTS/Defaults.linux	2015-12-11 17:37:32.155828925 +0300
-@@ -57,7 +57,8 @@
- # Installation config stuff
- #
- ###########################################################################
--INS_BASE=	/opt/schily
-+#INS_BASE=	/opt/schily
-+INS_BASE=	$(out)
- INS_KBASE=	/
- INS_RBASE=	/
- #
-Only in cdrtools-3.01/DEFAULTS: Defaults.linux.orig
-diff -ru3 cdrtools-3.01-old/RULES/rules.prg cdrtools-3.01/RULES/rules.prg
---- cdrtools-3.01-old/RULES/rules.prg	2015-12-11 17:37:21.500848844 +0300
-+++ cdrtools-3.01/RULES/rules.prg	2015-12-11 17:38:29.890720987 +0300
-@@ -43,10 +43,10 @@
- #
- #SHELL=		/bin/sh
- 
--LN=		/bin/ln
--SYMLINK=	/bin/ln -s
--RM=		/bin/rm
--MV=		/bin/mv
-+LN=		ln
-+SYMLINK=	ln -s
-+RM=		rm
-+MV=		mv
- LORDER=		lorder
- TSORT=		tsort
- CTAGS=		vctags