diff options
author | Roel Janssen <roel@gnu.org> | 2016-12-26 12:58:29 +0100 |
---|---|---|
committer | Roel Janssen <roel@gnu.org> | 2016-12-26 12:58:29 +0100 |
commit | 328398e7523381aa35ef5e5792c4228b075e15b1 (patch) | |
tree | fc068e235dbbb7faf507b94dae8c5ca90c7fa9e2 /gnu/packages/cdrom.scm | |
parent | fb222fb2b05cedab4d2ca825933d49517ea65b93 (diff) | |
download | patches-328398e7523381aa35ef5e5792c4228b075e15b1.tar patches-328398e7523381aa35ef5e5792c4228b075e15b1.tar.gz |
gnu: Add ripit.
* gnu/packages/cdrom.scm (ripit): New variable.
Diffstat (limited to 'gnu/packages/cdrom.scm')
-rw-r--r-- | gnu/packages/cdrom.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 57bcf0cc71..44f4eb035a 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))) |