From ccb3f2e350f9cef6dda5ff45f700f5b26a39361d Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Tue, 27 Oct 2009 23:08:03 +0100 Subject: new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith) --- doc/index.html | 1 + src/libmad.mk | 47 +++++++++++++++++++++++++++++++++++++++++++++++ src/libsndfile.mk | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/sdl_net.mk | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/speex.mk | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 197 insertions(+) create mode 100644 src/libmad.mk create mode 100644 src/libsndfile.mk create mode 100644 src/sdl_net.mk create mode 100644 src/speex.mk diff --git a/doc/index.html b/doc/index.html index d5262fe..1acb6c8 100644 --- a/doc/index.html +++ b/doc/index.html @@ -679,6 +679,7 @@ pfexec python setup.py install
  • Martin Gerhardy
  • Mark Brand
  • Hans Bezemer
  • +
  • Gregory Smith
  • (contact via the diff --git a/src/libmad.mk b/src/libmad.mk new file mode 100644 index 0000000..39bc621 --- /dev/null +++ b/src/libmad.mk @@ -0,0 +1,47 @@ +# Copyright (C) 2009 Volker Grabsch +# Gregory Smith +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject +# to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# libmad +PKG := libmad +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.15.1b +$(PKG)_CHECKSUM := cac19cd00e1a907f3150cc040ccc077783496d76 +$(PKG)_SUBDIR := libmad-$($(PKG)_VERSION) +$(PKG)_FILE := libmad-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://www.underbit.com/products/mad/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mad/libmad/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mad/files/libmad/) | \ + $(SED) -n 's,.*libmad-\([0-9][^>]*\)\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + $(SED) '/-fforce-mem/d' -i '$(1)'/configure + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install +endef diff --git a/src/libsndfile.mk b/src/libsndfile.mk new file mode 100644 index 0000000..c390571 --- /dev/null +++ b/src/libsndfile.mk @@ -0,0 +1,51 @@ +# Copyright (C) 2009 Volker Grabsch +# Gregory Smith +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject +# to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# libsndfile +PKG := libsndfile +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.0.20 +$(PKG)_CHECKSUM := d4f88b919c644f54dd4038c4cf4fb2e7b0d32f7b +$(PKG)_SUBDIR := libsndfile-$($(PKG)_VERSION) +$(PKG)_FILE := libsndfile-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://www.mega-nerd.com/libsndfile/ +$(PKG)_URL := http://www.mega-nerd.com/libsndfile/$($(PKG)_FILE) +$(PKG)_DEPS := gcc sqlite flac ogg vorbis + +define $(PKG)_UPDATE + wget -q -O- 'http://www.mega-nerd.com/libsndfile/' | \ + grep '.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --enable-sqlite \ + --enable-external-libs \ + --disable-octave \ + --disable-alsa + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= html_DATA= +endef diff --git a/src/sdl_net.mk b/src/sdl_net.mk new file mode 100644 index 0000000..09be916 --- /dev/null +++ b/src/sdl_net.mk @@ -0,0 +1,50 @@ +# Copyright (C) 2009 Volker Grabsch +# Gregory Smith +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject +# to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# SDL_net +PKG := sdl_net +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.2.7 +$(PKG)_CHECKSUM := b46c7e3221621cc34fec1238f1b5f0ce8972274d +$(PKG)_SUBDIR := SDL_net-$($(PKG)_VERSION) +$(PKG)_FILE := SDL_net-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://libsdl.org/projects/SDL_net/ +$(PKG)_URL := http://libsdl.org/projects/SDL_net/release/$($(PKG)_FILE) +$(PKG)_DEPS := gcc sdl + +define $(PKG)_UPDATE + wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_net/?sortby=date' | \ + grep ']*>Speex-\([0-9][^>]*\)<.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-oggtest + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= doc_DATA= +endef -- cgit v0.12