mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
cdrtools: 3.00 -> 3.02a03
This commit is contained in:
parent
c418dc84f9
commit
a4e8b8ef06
@ -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
|
|
@ -1,23 +1,30 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, acl, libcap }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cdrtools-3.00";
|
name = "cdrtools-3.02a03";
|
||||||
|
|
||||||
configurePhase = "true";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
|
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/;
|
homepage = http://sourceforge.net/projects/cdrtools/;
|
||||||
description = "Highly portable CD/DVD/BluRay command line recording software";
|
description = "Highly portable CD/DVD/BluRay command line recording software";
|
||||||
# Licensing issues: This package contains code licensed under CDDL, GPL2
|
# Licensing issues: This package contains code licensed under CDDL, GPL2
|
||||||
# and LGPL2. There is debate regarding the legality of this licensing.
|
# and LGPL2. There is debate regarding the legality of this licensing.
|
||||||
# Marked as unfree to avoid any possible legal issues.
|
# Marked as unfree to avoid any possible legal issues.
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = licenses.unfree;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
32
pkgs/applications/misc/cdrtools/fix-paths.patch
Normal file
32
pkgs/applications/misc/cdrtools/fix-paths.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user