2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2010-02-21 20:52:21 +00:00
|
|
|
|
|
|
|
PKG := libshout
|
2018-07-30 07:27:30 +01:00
|
|
|
$(PKG)_WEBSITE := https://icecast.org/
|
2010-02-21 20:52:21 +00:00
|
|
|
$(PKG)_IGNORE :=
|
2016-01-09 01:54:45 +00:00
|
|
|
$(PKG)_VERSION := 2.4.1
|
|
|
|
$(PKG)_CHECKSUM := f3acb8dec26f2dbf6df778888e0e429a4ce9378a9d461b02a7ccbf2991bbf24d
|
2010-02-21 20:52:21 +00:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
2017-09-16 04:25:30 +01:00
|
|
|
$(PKG)_URL := https://downloads.xiph.org/releases/$(PKG)/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc ogg openssl speex theora vorbis
|
2010-02-21 20:52:21 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2018-07-30 07:27:30 +01:00
|
|
|
$(WGET) -q -O- 'https://icecast.org/download/' | \
|
2010-02-23 13:08:36 +00:00
|
|
|
$(SED) -n 's,.*libshout-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
head -1
|
2010-02-21 20:52:21 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2017-07-20 11:31:36 +01:00
|
|
|
# doesn't support out-of-tree builds
|
|
|
|
cd '$(SOURCE_DIR)' && ./configure \
|
2016-01-09 01:54:45 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
|
|
ac_cv_prog_PKGCONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \
|
2017-07-20 11:31:36 +01:00
|
|
|
--disable-thread
|
|
|
|
$(MAKE) -C '$(SOURCE_DIR)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(SOURCE_DIR)' -j 1 install
|
2010-02-21 20:52:21 +00:00
|
|
|
endef
|
2014-04-06 14:18:15 +01:00
|
|
|
|
|
|
|
$(PKG)_BUILD_SHARED =
|