forked from tinygettext/tinygettext
-
Notifications
You must be signed in to change notification settings - Fork 6
/
guix.scm
47 lines (41 loc) · 1.66 KB
/
guix.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
;; tinygettext - A gettext replacement that works directly on .po files
;; Copyright (C) 2019 Ingo Ruhnke <[email protected]>
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(set! %load-path
(cons* "/ipfs/QmNbci3WpEWumBVvfbqsKhKnJTtdmkyVwYtSaPr5jVZo2m/guix-cocfree_0.0.0-56-g3a32b64"
%load-path))
(use-modules (guix build-system cmake)
((guix licenses) #:prefix license:)
(guix packages)
(gnu packages boost)
(gnu packages gcc)
(gnu packages pkg-config)
(guix-cocfree utils))
(define %source-dir (dirname (current-filename)))
(define-public tinygettext
(package
(name "tinygettext")
(version (version-from-source %source-dir))
(source (source-from-source %source-dir))
(arguments
`(#:tests? #f
#:configure-flags `("-DBUILD_SHARED_LIBS=OFF")))
(build-system cmake-build-system)
(synopsis (synopsis-from-source %source-dir))
(description (description-from-source %source-dir))
(home-page (homepage-from-source %source-dir))
(license license:zlib)))
tinygettext
;; EOF ;;