aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtmpdump/APKBUILD
blob: 8771abbe8729af274baca28327d74f6d24521914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rtmpdump
verbase=2.4
pkgver=2.4_git20160909
pkgrel=1
pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
url="http://rtmpdump.mplayerhq.hu/"
arch="all"
license="GPL"
depends=
depends_dev="zlib-dev libressl-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc librtmp"

giturl="git://git.ffmpeg.org/rtmpdump"
disturl="dev.alpinelinux.org:/archive/rtmpdump"
source="http://dev.alpinelinux.org/archive/rtmpdump/rtmpdump-${pkgver}.tar.gz
	fix-chunk-size.patch"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make || return 1 
}

package() {
	cd "$builddir"
	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/
}

md5sums="efe6e25213e8494cb0ef49d770ff328d  rtmpdump-2.4_git20160909.tar.gz
8a6331a036a40c8be551e472bc2fe11c  fix-chunk-size.patch"
sha256sums="618f37762a4aea7a1a357d75479fa8e85198b761ca8c6c50d675e650b27f7991  rtmpdump-2.4_git20160909.tar.gz
99f4204f1bb18709cc85235f6e041125f221e181e091525eea19f17c713fab43  fix-chunk-size.patch"
sha512sums="e42eda75679addb6f919f42ddce2d27a6988f505602bb70ecb4d071324b59f21d573f8b73fda3b29960c095e20303b84f6eb6254cd327803430d8065cf5d172b  rtmpdump-2.4_git20160909.tar.gz
f97b4780fb8cfffccf59785c5a89c8d4929e21ec587192f10602caaf9a0b008dfbfebaa09db1d9d955fc9911fc443d76bf19972cc59fedfab5a8889f7fe70b5d  fix-chunk-size.patch"