From 9ca23362a73d6a1344cc79936baa09e69fd92a7a Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Thu, 8 Sep 2016 10:52:10 +0200 Subject: [PATCH] New package: flvstreamer-2.1c1 --- srcpkgs/flvstreamer/template | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/flvstreamer/template diff --git a/srcpkgs/flvstreamer/template b/srcpkgs/flvstreamer/template new file mode 100644 index 00000000000..6ec7359eeb4 --- /dev/null +++ b/srcpkgs/flvstreamer/template @@ -0,0 +1,33 @@ +# Template file for 'flvstreamer' +pkgname=flvstreamer +version=2.1c1 +revision=1 +wrksrc="${pkgname}" +hostmakedepends="" +makedepends="" +short_desc="Command-line RTMP client" +maintainer="Juergen Buchmueller " +license="GPL-2" +homepage="https://savannah.nongnu.org/projects/flvstreamer" +distfiles="http://download.savannah.gnu.org/releases/flvstreamer/source/${pkgname}-${version}.tar.gz" +checksum=e90e24e13a48c57b1be01e41c9a7ec41f59953cdb862b50cf3e667429394d1ee + +do_build() { + sed -i Makefile \ + -e "s;^\(CFLAGS.*=.*\);& $CFLAGS;" \ + -e "s;^\(CC.*=.*\);CC=$CC;" \ + -e "s;^\(LD.*=.*\);LD=$LD;" \ + -e "s;^\(LDFLAGS.*=.*\);& $LDFLAGS;" + if [ -n "$CROSS_COMPILE" ]; then + CROSS_COMPILE=${XBPS_CROSS_TRIPLET}- + fi + make ${makejobs} posix +} + +do_install() { + vbin flvstreamer + vbin rtmpsrv + vbin rtmpsuck + vbin streams + vdoc README +}