[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add ripit.
From: |
Roel Janssen |
Subject: |
01/01: gnu: Add ripit. |
Date: |
Mon, 26 Dec 2016 11:57:06 +0000 (UTC) |
roelj pushed a commit to branch master
in repository guix.
commit 328398e7523381aa35ef5e5792c4228b075e15b1
Author: Roel Janssen <address@hidden>
Date: Mon Dec 26 12:58:29 2016 +0100
gnu: Add ripit.
* gnu/packages/cdrom.scm (ripit): New variable.
---
gnu/packages/cdrom.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 57bcf0c..44f4eb0 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -456,3 +456,43 @@ CDDB to name and tag each track automatically, and it
allows for each track to
be by a different artist. Asunder can encode to multiple formats in one
session, and it can create M3U playlists.")
(license gpl2)))
+
+(define-public ripit
+ (package
+ (name "ripit")
+ (version "3.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://www.suwald.com/ripit/ripit-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0ap71x477jy9c4jiqazb3y45hxdxm3jbq24x05g3vjyqzigi4x1b"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No test suite.
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'patch-usr-bin-install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "Makefile"
+ (("/usr/bin/install") (string-append
+ (assoc-ref inputs "coreutils")
+ "/bin/install"))
+ (("\\$\\(DESTDIR\\)/usr/local") (assoc-ref outputs "out"))
+ (("../../etc") "etc")))))))
+ (native-inputs
+ `(("coreutils" ,coreutils)))
+ (inputs
+ `(("perl" ,perl)))
+ (propagated-inputs
+ `(("cdparanoia" ,cdparanoia)
+ ("flac" ,flac)
+ ("vorbis-tools" ,vorbis-tools)
+ ("wavpack" ,wavpack)
+ ("perl-cddb-get" ,perl-cddb-get)))
+ (home-page "http://www.suwald.com/ripit/about.php")
+ (synopsis "Command-line program to extract audio CDs")
+ (description "RipIT is used to extract audio from CDs.")
+ (license gpl2)))