openbsd-ports/net/flvstreamer/Makefile
2013-03-11 11:35:43 +00:00

34 lines
787 B
Makefile

# $OpenBSD: Makefile,v 1.14 2013/03/11 11:35:46 espie Exp $
COMMENT = dump unencrypted RTMP media streams
DISTNAME = flvstreamer-2.1c1
WRKDIST = ${WRKDIR}/flvstreamer
CATEGORIES = net
HOMEPAGE = http://www.nongnu.org/flvstreamer/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c pthread
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=flvstreamer/source/}
MAKE_FLAGS = CC="${CC}" XCFLAGS="${CFLAGS}"
ALL_TARGET = linux
NO_TEST = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flvstreamer
${INSTALL_PROGRAM} ${WRKBUILD}/flvstreamer ${PREFIX}/bin
.for i in rtmpsrv rtmpsuck streams
${INSTALL_PROGRAM} ${WRKBUILD}/$i ${PREFIX}/bin/$i_flv
.endfor
cd ${WRKBUILD}; \
${INSTALL_DATA} README COPYING ChangeLog* ${PREFIX}/share/doc/flvstreamer
.include <bsd.port.mk>