summaryrefslogblamecommitdiff
path: root/user/rtmpdump/APKBUILD
blob: 7ece7823762e5a14dd04bffa81fbb4fe8130b655 (plain) (tree)
1
2
3
4
5
                              
                                                 
                

          








                                                         
                                                                        
                            
                       
         

         



            









                                                                                     
                                                                                                                                                                 

                                                                                                                                                      
# 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
	openssl11.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
6533efc24d22b55cea8db0ba2d4ed5fc2672e17b2ef80a987a65f54abe815cb1337b571a9e2a6cd12b826d129da427c2c0e1c16241f24e67a3ca66761a894e2d  openssl11.patch"