2017-09-17 09:57:34 +02:00
|
|
|
{stdenv, fetchurl, cmake, libcap, zlib, bzip2, perl}:
|
2007-10-19 16:16:43 +02:00
|
|
|
|
2008-12-16 15:06:46 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-03-14 01:44:14 +01:00
|
|
|
name = "cdrkit-1.1.11";
|
2007-07-08 00:31:37 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-12-16 15:06:46 +01:00
|
|
|
url = "http://cdrkit.org/releases/${name}.tar.gz";
|
2012-03-14 01:44:14 +01:00
|
|
|
sha256 = "1nj7iv3xrq600i37na9a5idd718piiiqbs4zxvpjs66cdrsk1h6i";
|
2007-07-08 00:31:37 +02:00
|
|
|
};
|
|
|
|
|
2017-09-17 09:57:34 +02:00
|
|
|
buildInputs = [cmake libcap zlib bzip2 perl];
|
2007-07-08 00:31:37 +02:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-12-23 02:59:47 +01:00
|
|
|
|
2012-03-14 01:44:14 +01:00
|
|
|
# efi-boot-patch extracted from http://arm.koji.fedoraproject.org/koji/rpminfo?rpmID=174244
|
|
|
|
patches = [ ./include-path.patch ./cdrkit-1.1.9-efi-boot.patch ];
|
2009-12-11 16:36:24 +01:00
|
|
|
|
2009-04-21 09:05:38 +02:00
|
|
|
postInstall = ''
|
|
|
|
# file name compatibility with the old cdrecord (growisofs wants this name)
|
|
|
|
ln -s $out/bin/genisoimage $out/bin/mkisofs
|
2009-05-13 12:21:24 +02:00
|
|
|
ln -s $out/bin/wodim $out/bin/cdrecord
|
2009-04-21 09:05:38 +02:00
|
|
|
'';
|
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
makeFlags = [ "PREFIX=\$(out)" ];
|
2007-07-08 00:31:37 +02:00
|
|
|
|
|
|
|
meta = {
|
2007-10-19 16:16:43 +02:00
|
|
|
description = "Portable command-line CD/DVD recorder software, mostly compatible with cdrtools";
|
2008-12-16 15:06:46 +01:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Cdrkit is a suite of programs for recording CDs and DVDs,
|
|
|
|
blanking CD-RW media, creating ISO-9660 filesystem images,
|
|
|
|
extracting audio CD data, and more. The programs included in
|
|
|
|
the cdrkit package were originally derived from several sources,
|
|
|
|
most notably mkisofs by Eric Youngdale and others, cdda2wav by
|
|
|
|
Heiko Eissfeldt, and cdrecord by Jörg Schilling. However,
|
|
|
|
cdrkit is not affiliated with any of these authors; it is now an
|
|
|
|
independent project.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://cdrkit.org/";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2007-07-08 00:31:37 +02:00
|
|
|
};
|
|
|
|
}
|