cdrtools: 3.00 -> 3.02a03

This commit is contained in:
Nikolay Amiantov 2015-12-12 01:36:52 +03:00
parent c418dc84f9
commit a4e8b8ef06
3 changed files with 47 additions and 21 deletions

View File

@ -1,13 +0,0 @@
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

View File

@ -1,23 +1,30 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, acl, libcap }:
stdenv.mkDerivation rec {
name = "cdrtools-3.00";
configurePhase = "true";
name = "cdrtools-3.02a03";
src = fetchurl {
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
sha256 = "0ga2fdwn3898jas5mabb6cc2al9acqb2yyzph2w76m85414bd73z";
sha256 = "02gjxib0sgzsdicnb7496x0a175w1sb34v8zc9mdi8cfw7skw996";
};
patches = [ ./cdrtools-2.01-install.patch ];
patches = [ ./fix-paths.patch ];
meta = {
buildInputs = [ acl libcap ];
configurePhase = "true";
GMAKE_NOWARN = true;
makeFlags = [ "INS_BASE=/" "INS_RBASE=/" "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
homepage = http://sourceforge.net/projects/cdrtools/;
description = "Highly portable CD/DVD/BluRay command line recording software";
# Licensing issues: This package contains code licensed under CDDL, GPL2
# and LGPL2. There is debate regarding the legality of this licensing.
# Marked as unfree to avoid any possible legal issues.
license = stdenv.lib.licenses.unfree;
license = licenses.unfree;
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,32 @@
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