gnu: guile-1.8: Patch `ice-9/popen.scm'.
[jackhill/guix/guix.git] / gnu / packages / libpng.scm
CommitLineData
5752a7d7
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages libpng)
20 #:use-module (gnu packages)
21 #:use-module (gnu packages compression)
22 #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:))
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu))
26
27(define-public libpng
28 (package
29 (name "libpng")
30 (version "1.5.13")
31 (source (origin
32 (method url-fetch)
33 (uri (string-append
34 "http://downloads.sourceforge.net/project/libpng/libpng15/"
35 version "/libpng-"
36 version ".tar.gz"))
37 (sha256 (base32
38 "0dbh332qjhm3pa8m4ac73rk7dbbmigbqd3ch084m24ggg9qq4k0d"))))
39 (build-system gnu-build-system)
40 (inputs `(("zlib" ,zlib)))
41 (synopsis "Libpng, a library for handling PNG files")
42 (description
43 "Libpng is the official PNG (Portable Network Graphics) reference
44library. It supports almost all PNG features and is extensible.")
45 (license license:zlib)
46 (home-page "http://www.libpng.org/pub/png/libpng.html")))