summaryrefslogtreecommitdiff
path: root/net/liblive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/liblive/Makefile')
-rw-r--r--net/liblive/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/net/liblive/Makefile b/net/liblive/Makefile
new file mode 100644
index 00000000000..e8d587f4731
--- /dev/null
+++ b/net/liblive/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/04 22:37:33 rh Exp $
+#
+
+DISTNAME= live.2003.04.04
+PKGNAME= lib${DISTNAME:S/./-/}
+WRKSRC= ${WRKDIR}/live
+CATEGORIES= net
+MASTER_SITES= http://www.live.com/liveMedia/public/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.live.com/liveMedia/
+COMMENT= set of C++ libraries for multimedia streaming
+
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+
+do-configure:
+ ${CP} ${FILESDIR}/config.netbsd ${WRKSRC}
+ cd ${WRKSRC} && ${SH} ./genMakefiles ${LOWER_OPSYS}
+ ${RM} -f ${WRKSRC}/testProgs/qtParse
+
+do-install:
+.for lib in BasicUsageEnvironment UsageEnvironment groupsock liveMedia
+ cd ${WRKSRC}/${lib} && \
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} lib${lib}.la ${PREFIX}/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/liblive/${lib}
+ cd ${WRKSRC}/${lib}/include && \
+ for i in *.h *.hh ; do \
+ [ ! -f $$i ] || \
+ ${INSTALL_DATA} $$i ${PREFIX}/include/liblive/${lib} ; \
+ done
+.endfor
+.for bin in openRTSP playSIP qtParse sapWatch testMP3Receiver \
+ testMP3Streamer testMPEGAudioVideoStreamer testMPEGSplitter \
+ testMPEGVideoReceiver testMPEGVideoStreamer testRelay vobStreamer
+ cd ${WRKSRC}/testProgs && \
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin
+.endfor
+
+.include "../../mk/bsd.pkg.mk"