You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/libshout.mk

30 lines
973 B

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libshout
$(PKG)_WEBSITE := http://www.icecast.org/
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.4.1
$(PKG)_CHECKSUM := f3acb8dec26f2dbf6df778888e0e429a4ce9378a9d461b02a7ccbf2991bbf24d
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
7 years ago
$(PKG)_URL := https://downloads.us.xiph.org/releases/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc ogg openssl speex theora vorbis
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.icecast.org/download.php' | \
$(SED) -n 's,.*libshout-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
ac_cv_prog_PKGCONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \
--disable-thread \
--infodir='$(1)/sink' \
--mandir='$(1)/sink'
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef
$(PKG)_BUILD_SHARED =