2015-12-11 22:36:52 +00:00
|
|
|
{ stdenv, fetchurl, acl, libcap }:
|
2005-08-30 19:41:10 +00:00
|
|
|
|
2014-05-18 11:25:43 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-05-03 17:23:31 +00:00
|
|
|
name = "cdrtools-${version}";
|
2018-03-19 15:58:41 +00:00
|
|
|
version = "3.02a06";
|
2014-07-10 11:11:32 +00:00
|
|
|
|
2005-08-30 19:41:10 +00:00
|
|
|
src = fetchurl {
|
2014-05-18 11:25:43 +00:00
|
|
|
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
|
2018-03-19 15:58:41 +00:00
|
|
|
sha256 = "1cayhfbhj5g2vgmkmq5scr23k0ka5fsn0dhn0n9yllj386csnygd";
|
2005-08-30 19:41:10 +00:00
|
|
|
};
|
2014-07-10 11:11:32 +00:00
|
|
|
|
2015-12-11 22:36:52 +00:00
|
|
|
patches = [ ./fix-paths.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ acl libcap ];
|
|
|
|
|
2016-03-16 05:59:05 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed "/\.mk3/d" -i libschily/Targets.man
|
|
|
|
substituteInPlace man/Makefile --replace "man4" ""
|
|
|
|
'';
|
|
|
|
|
2015-12-11 22:36:52 +00:00
|
|
|
configurePhase = "true";
|
|
|
|
|
|
|
|
GMAKE_NOWARN = true;
|
|
|
|
|
|
|
|
makeFlags = [ "INS_BASE=/" "INS_RBASE=/" "DESTDIR=$(out)" ];
|
2007-10-19 14:16:43 +00:00
|
|
|
|
2015-12-11 22:36:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 21:50:51 +00:00
|
|
|
homepage = https://sourceforge.net/projects/cdrtools/;
|
2014-07-10 11:11:32 +00:00
|
|
|
description = "Highly portable CD/DVD/BluRay command line recording software";
|
2016-04-23 01:11:19 +00:00
|
|
|
license = with licenses; [ gpl2 lgpl2 cddl ];
|
2015-12-11 22:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2016-04-23 01:11:19 +00:00
|
|
|
# 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 = [];
|
2007-10-19 14:16:43 +00:00
|
|
|
};
|
2005-08-30 19:41:10 +00:00
|
|
|
}
|