# Contributor: Carlo Landmeter # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=rtmpdump pkgver=2.4 pkgrel=0 pkgdesc="A tool to download rtmp:// and rtmpe:// streams" url="http://rtmpdump.mplayerhq.hu/" arch="all" options="!check" # No test suite. license="GPL-2.0+" depends="" depends_dev="zlib-dev" makedepends="$depends_dev linux-headers openssl-dev" subpackages="$pkgname-dev $pkgname-doc librtmp" source="https://distfiles.adelielinux.org/source/rtmpdump-$pkgver.tar.xz fix-chunk-size.patch" build() { make } package() { make -j1 prefix=/usr MANDIR="$pkgdir/usr/share/man" DESTDIR="$pkgdir" install } librtmp() { pkgdesc="Real Time Messaging Protocol (RTMP) library" replaces="rtmpdump" mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ } sha512sums="5273452508b3187aa1a7431fb0b44b1a5883dc6b28f6eda92b4a2db6925c72dea68bdd666a2affd68476ef8db714db4022a9417323c8ef3c58bbf1f407fe99d4 rtmpdump-2.4.tar.xz f97b4780fb8cfffccf59785c5a89c8d4929e21ec587192f10602caaf9a0b008dfbfebaa09db1d9d955fc9911fc443d76bf19972cc59fedfab5a8889f7fe70b5d fix-chunk-size.patch"