]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
libvorbis: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 7 Jul 2013 20:34:43 +0000 (22:34 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 7 Jul 2013 20:34:43 +0000 (22:34 +0200)
libvorbis/libvorbis.nm [new file with mode: 0644]

diff --git a/libvorbis/libvorbis.nm b/libvorbis/libvorbis.nm
new file mode 100644 (file)
index 0000000..7028763
--- /dev/null
@@ -0,0 +1,51 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = libvorbis
+version    = 1.3.3
+release    = 1
+
+groups     = System/Libraries
+url        = http://www.xiph.org/
+license    = BSD
+summary    = The Vorbis General Audio Compression Codec.
+
+description
+       Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free,
+       general-purpose compressed audio format for audio and music at fixed
+       and variable bitrates.
+end
+
+source_dl  = http://downloads.xiph.org/releases/vorbis/
+sources    = %{thisapp}.tar.xz
+
+build
+       requires
+               libogg-devel
+       end
+
+       configure_options += \
+               --disable-static
+
+       prepare_cmds
+               # User our CFLAGS.
+               sed -i "s/-O20/%{CFLAGS}/" configure
+               
+               # Enable fast-math.
+               sed -i "s/-ffast-math//" configure
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end