| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 |
|
| 21 | (define-module (gnu packages cpio)
|
| 22 | #:use-module (guix licenses)
|
| 23 | #:use-module (gnu packages)
|
| 24 | #:use-module (gnu packages autotools)
|
| 25 | #:use-module (guix packages)
|
| 26 | #:use-module (guix download)
|
| 27 | #:use-module (guix build-system gnu))
|
| 28 |
|
| 29 | (define-public cpio
|
| 30 | (package
|
| 31 | (name "cpio")
|
| 32 | (version "2.15")
|
| 33 | (source (origin
|
| 34 | (method url-fetch)
|
| 35 | (uri (string-append "mirror://gnu/cpio/cpio-"
|
| 36 | version ".tar.bz2"))
|
| 37 | (sha256
|
| 38 | (base32
|
| 39 | "1nvmj2mc3nagpig75sgzvkqgzg1p01wgnlw54v4ix6ijgjwi0xlk"))
|
| 40 | (modules '((guix build utils)))
|
| 41 | (snippet
|
| 42 | '(begin
|
| 43 | |
| 44 | (substitute* "src/global.c"
|
| 45 | (("char \\*program_name;")
|
| 46 | ""))))))
|
| 47 | (build-system gnu-build-system)
|
| 48 | (home-page "https://www.gnu.org/software/cpio/")
|
| 49 | (synopsis "Manage cpio and tar file archives")
|
| 50 | (description
|
| 51 | "GNU cpio copies files into or out of cpio or tar archives. Indeed,
|
| 52 | many formats are supported, including legacy formats. The format is
|
| 53 | determined automatically by the program and is handled appropriately.
|
| 54 | Furthermore, the location of the archive is not important. It can be another
|
| 55 | file on the drive, a tape, or data on a pipe.")
|
| 56 | (license gpl3+)))
|