# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name             live555
version          2009.04.07
categories       multimedia
maintainers      milosh openmaintainer
description      LIVE555 Streaming Media
long_description \
  This code forms a set of C++ libraries for multimedia streaming, using open\
  standard protocols (RTP/RTCP, RTSP, SIP). These libraries - which can be\
  compiled for Unix (including Linux and Mac OS X), Windows, and QNX (and\
  other POSIX-compliant systems) - can be used to build streaming\
  applications.
homepage         http://www.live555.com/liveMedia/
platforms        darwin
master_sites     ${homepage}public/ \
                 macports
checksums           md5     724d6779ae6363545d9e83808e5cec2e \
                    sha1    2119d60941aa3d74234df0f36faa69bb904a7530 \
                    rmd160  4e9c861a3c78d6ddaa79e60723eeabe9856acff3
distname         live.${version}
universal_variant no
worksrcdir       live
configure.cmd    ./genMakefiles
configure.pre_args {}
destroot {
        xinstall -d ${destroot}${prefix}/lib
        file copy ${workpath}/live ${destroot}${prefix}/lib/
}

platform macosx {
        configure.args  macosx
}
platform linux {
        configure.args  linux
}

livecheck.type      regex
livecheck.url       ${homepage}public/
livecheck.regex     live\\.(\[0-9a-z.\]+)\\.tar\\.gz
