# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                libshout
version             1.0.9
revision            1
checksums           rmd160  b2369212c732bff9565602a47a2a68f9fd4f6e98 \
                    sha256  191215b71ca6b5a6e999e91acd699dbbcdf53c5be1d928a25acb395d8442a426 \
                    size    169553

categories          audio net
platforms           darwin
license             GPL-2+
maintainers         nomaintainer

description         Data and connectivity lib for the icecast server

long_description    A port of the libshout library. Libshout allows \
                    applications to easily communicate and broadcast \
                    to an Icecast streaming media server. It handles \
                    the socket connections, metadata communication, \
                    and data streaming for the calling application, \
                    and lets developers focus on feature sets instead \
                    of implementation details.

homepage            https://web.archive.org/web/20040215195211/http://developer.icecast.org/libshout/
master_sites        fink

post-extract {
    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
}

patchfiles          apple-patches \
                    implicit.patch

# Fix implicit declaration of functions and fix build with ccache.
use_autoreconf      yes

configure.args-append \
                    --enable-shared \
                    --enable-static \
                    --includedir=${prefix}/include/shout1 \
                    --libdir=${prefix}/lib/shout1 \
                    --with-pic

# This is an old version, so disable livecheck
livecheck.type      none
