2008-07-25 13:32:12 +01:00
|
|
|
{stdenv, fetchurl, cmake, libcap, zlib, bzip2}:
|
2007-10-19 15:16:43 +01:00
|
|
|
|
2008-12-16 14:06:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-01-16 14:42:08 +00:00
|
|
|
name = "cdrkit-1.1.10";
|
2007-07-07 23:31:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-12-16 14:06:46 +00:00
|
|
|
url = "http://cdrkit.org/releases/${name}.tar.gz";
|
2010-01-16 14:42:08 +00:00
|
|
|
sha256 = "1r87n4293lk2xgik9x1lvjr86rdsbaldf0d5flx6zb4c0ss90vlb";
|
2007-07-07 23:31:37 +01:00
|
|
|
};
|
|
|
|
|
2008-07-25 13:32:12 +01:00
|
|
|
buildInputs = [cmake libcap zlib bzip2];
|
2007-07-07 23:31:37 +01:00
|
|
|
|
2009-12-11 15:36:24 +00:00
|
|
|
patches = [ ./include-path.patch ];
|
|
|
|
|
2009-04-21 08:05:38 +01:00
|
|
|
postInstall = ''
|
|
|
|
# file name compatibility with the old cdrecord (growisofs wants this name)
|
|
|
|
ln -s $out/bin/genisoimage $out/bin/mkisofs
|
2009-05-13 11:21:24 +01:00
|
|
|
ln -s $out/bin/wodim $out/bin/cdrecord
|
2009-04-21 08:05:38 +01:00
|
|
|
'';
|
|
|
|
|
2007-07-07 23:31:37 +01:00
|
|
|
makeFlags = "PREFIX=\$(out)";
|
|
|
|
|
|
|
|
meta = {
|
2007-10-19 15:16:43 +01:00
|
|
|
description = "Portable command-line CD/DVD recorder software, mostly compatible with cdrtools";
|
2008-12-16 14:06:46 +00: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.
|
|
|
|
'';
|
|
|
|
|
2007-10-19 15:16:43 +01:00
|
|
|
homepage = http://cdrkit.org/;
|
2008-12-16 14:06:46 +00:00
|
|
|
license = "GPLv2";
|
2007-07-07 23:31:37 +01:00
|
|
|
};
|
|
|
|
}
|