Hi,

Can I push this one?

Nikita

From ae433f077cd8f0ec4a415b0526138d39f6078dce Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nik...@karetnikov.org>
Date: Fri, 18 Jan 2013 01:51:08 +0000
Subject: [PATCH] gnu: Add Libogg.

* gnu/packages/libogg.scm: New file.
* Makefile.am (MODULES): Add it.
---
 Makefile.am             |    1 +
 gnu/packages/libogg.scm |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 gnu/packages/libogg.scm

diff --git a/Makefile.am b/Makefile.am
index 86f9651..3ac2379 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -85,6 +85,7 @@ MODULES =					\
   gnu/packages/libffi.scm			\
   gnu/packages/libidn.scm			\
   gnu/packages/libjpeg.scm			\
+  gnu/packages/libogg.scm			\
   gnu/packages/libsigsegv.scm			\
   gnu/packages/libtiff.scm			\
   gnu/packages/libunistring.scm			\
diff --git a/gnu/packages/libogg.scm b/gnu/packages/libogg.scm
new file mode 100644
index 0000000..9bbc982
--- /dev/null
+++ b/gnu/packages/libogg.scm
@@ -0,0 +1,46 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Nikita Karetnikov <nik...@karetnikov.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix 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.
+;;;
+;;; GNU Guix 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 GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages libogg)
+  #:use-module ((guix licenses) #:select (bsd-3))
+  #:use-module (gnu packages compression)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public libogg
+  (package
+    (name "libogg")
+    (version "1.3.0")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "http://downloads.xiph.org/releases/ogg/libogg-";
+                          version ".tar.xz"))
+      (sha256
+       (base32
+        "0jy79ffkl34vycnwfsj4svqsdg1lwy2l1rr49y8r4d44kh12a5r3"))))
+    (build-system gnu-build-system)
+    (inputs `(("xz" ,xz)))
+    (home-page "http://xiph.org/ogg/";)
+    (synopsis
+     "Libogg, a library that allows to create, decode, and work with Ogg
+bitstreams")
+    (description
+     "Libogg allows to create, decode, and work with Ogg bitstreams.")
+    (license bsd-3)))
\ No newline at end of file
-- 
1.7.5.4

Attachment: pgpNhQssNDR_L.pgp
Description: PGP signature

Reply via email to