guix.scm 1.7 KB

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