| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 |
|
| 19 | (define-module (gnu packages cpp)
|
| 20 | #:use-module ((guix licenses) #:prefix license:)
|
| 21 | #:use-module (guix packages)
|
| 22 | #:use-module (guix download)
|
| 23 | #:use-module (guix build-system gnu)
|
| 24 | #:use-module (gnu packages)
|
| 25 | #:use-module (gnu packages autotools))
|
| 26 |
|
| 27 | (define-public libzen
|
| 28 | (package
|
| 29 | (name "libzen")
|
| 30 | (version "0.4.35")
|
| 31 | (source (origin
|
| 32 | (method url-fetch)
|
| 33 | (uri (string-append "https://mediaarea.net/download/source/"
|
| 34 | name "/" version "/"
|
| 35 | name "_" version ".tar.bz2"))
|
| 36 | (sha256
|
| 37 | (base32
|
| 38 | "12a1icgcffgv503ii2k1453kxg5hfly09mf4zjcc80aq8a6rf8by"))))
|
| 39 | (native-inputs
|
| 40 | `(("autoconf" ,autoconf)
|
| 41 | ("automake" ,automake)
|
| 42 | ("libtool" ,libtool)))
|
| 43 | (build-system gnu-build-system)
|
| 44 | (arguments
|
| 45 | '(#:phases
|
| 46 | |
| 47 | (modify-phases %standard-phases
|
| 48 | (add-after 'unpack 'pre-configure
|
| 49 | (lambda _
|
| 50 | (chdir "Project/GNU/Library")))
|
| 51 | (add-after 'pre-configure 'autogen
|
| 52 | (lambda _
|
| 53 | (zero? (system* "sh" "autogen.sh")))))))
|
| 54 | (home-page "https://github.com/MediaArea/ZenLib")
|
| 55 | (synopsis "C++ utility library")
|
| 56 | (description "ZenLib is a C++ utility library. It includes classes for handling
|
| 57 | strings, configuration, bit streams, threading, translation, and cross-platform
|
| 58 | operating system functions.")
|
| 59 | (license license:zlib)))
|