diff --git a/common/shlibs b/common/shlibs index a763f8addb9..ee03f6187ef 100644 --- a/common/shlibs +++ b/common/shlibs @@ -973,3 +973,4 @@ libmongoose.so.0 libmongoose-3.1_1 libpwquality.so.1 libpwquality-1.1.1_1 libisl.so.10 isl-0.10_1 libcloog-isl.so.3 cloog-0.17.0_1 +librtmp.so.0 librtmp-2.4_1 diff --git a/srcpkgs/librtmp b/srcpkgs/librtmp new file mode 120000 index 00000000000..e0ff89d8283 --- /dev/null +++ b/srcpkgs/librtmp @@ -0,0 +1 @@ +rtmpdump \ No newline at end of file diff --git a/srcpkgs/librtmp-devel b/srcpkgs/librtmp-devel new file mode 120000 index 00000000000..186649e3b69 --- /dev/null +++ b/srcpkgs/librtmp-devel @@ -0,0 +1 @@ +librtmp \ No newline at end of file diff --git a/srcpkgs/rtmpdump/librtmp-devel.template b/srcpkgs/rtmpdump/librtmp-devel.template new file mode 100644 index 00000000000..f574e1ad1ee --- /dev/null +++ b/srcpkgs/rtmpdump/librtmp-devel.template @@ -0,0 +1,13 @@ +# Template file for 'isl-devel'. +# +depends="openssl-devel librtmp>=$version" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/rtmpdump/librtmp.rshlibs b/srcpkgs/rtmpdump/librtmp.rshlibs new file mode 100644 index 00000000000..a976a535c1d --- /dev/null +++ b/srcpkgs/rtmpdump/librtmp.rshlibs @@ -0,0 +1,4 @@ +libssl.so.1 +libcrypto.so.1 +libz.so.1 +libc.so.6 diff --git a/srcpkgs/rtmpdump/librtmp.template b/srcpkgs/rtmpdump/librtmp.template new file mode 100644 index 00000000000..4ccb0180978 --- /dev/null +++ b/srcpkgs/rtmpdump/librtmp.template @@ -0,0 +1,10 @@ +# Template file for 'librtmp'. +# +short_desc="${short_desc} -- shared library" +long_desc="${long_desc} + + This package contains the shared library." + +do_install() { + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/rtmpdump/rtmpdump.rshlibs b/srcpkgs/rtmpdump/rtmpdump.rshlibs new file mode 100644 index 00000000000..378f3523f9b --- /dev/null +++ b/srcpkgs/rtmpdump/rtmpdump.rshlibs @@ -0,0 +1,6 @@ +librtmp.so.0 +libssl.so.1 +libcrypto.so.1 +libz.so.1 +libc.so.6 +libpthread.so.0 diff --git a/srcpkgs/rtmpdump/template b/srcpkgs/rtmpdump/template new file mode 100644 index 00000000000..5cefc33360e --- /dev/null +++ b/srcpkgs/rtmpdump/template @@ -0,0 +1,23 @@ +# Template file for 'rtmpdump' +pkgname=rtmpdump +version=2.4 +revision=1 +subpackages="librtmp librtmp-devel" +short_desc="Toolkit for RTMP streams" +maintainer="Juan RP " +homepage="http://rtmpdump.mplayerhq.hu/" +license="GPL-2, LGPL-2.1" +distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.xz" +checksum=2c3b76d46d56180176ef099b8ad50a1608bef1dac35d8cb0b21ceac31b5c0656 +long_desc=" + rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported, + including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://." + +do_build() { + make ${makejobs} +} + +do_install() { + vmkdir usr/lib + make prefix=/usr mandir=/usr/share/man DESTDIR=$DESTDIR install +}