aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cdrom.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-29 20:48:15 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-29 22:34:58 +0100
commite2bb5fd627096dca1f3da6a6ad1ff9ebf18ecbca (patch)
treeac53c61fd288fff1bf5632e862a4ef8d9e476e34 /gnu/packages/cdrom.scm
parentfbe52bcda220ebb423481b2721497d8963fd4e2b (diff)
downloadpatches-e2bb5fd627096dca1f3da6a6ad1ff9ebf18ecbca.tar
patches-e2bb5fd627096dca1f3da6a6ad1ff9ebf18ecbca.tar.gz
gnu: Add cd-discid.
* gnu/packages/cdrom.scm (cd-discid): New variable.
Diffstat (limited to 'gnu/packages/cdrom.scm')
-rw-r--r--gnu/packages/cdrom.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 07808578c0..02e3febbc7 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -217,3 +217,33 @@ files. Dvdisaster works at the image level so that the recovery does not
depend on the file system of the medium. The maximum error correction
capacity is user-selectable.")
(license gpl2+)))
+
+(define-public cd-discid
+ (package
+ (name "cd-discid")
+ (version "1.4")
+ (home-page "http://linukz.org/cd-discid.shtml")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append home-page "/download/cd-discid-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz"))
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "Makefile"
+ (("/usr/bin/install")
+ "install")))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f
+ #:phases (alist-delete 'configure %standard-phases)
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX="
+ (assoc-ref %outputs "out")))))
+ (synopsis "Get CDDB discid information from an audio CD")
+ (description
+ "cd-discid is a command-line tool to retrieve CDDB discid information
+from an audio CD.")
+ (license gpl2+)))