aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtmpdump/APKBUILD
blob: 5a234be32ac8f6127d7f27fde727c2f97472be6a (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_git20141231
pkgrel=2
pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
url="http://rtmpdump.mplayerhq.hu/"
arch="all"
license="GPL"
depends=
depends_dev="zlib-dev openssl-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="03c4c1fdfff2fc16f89c88097c2a132a  rtmpdump-2.4_git20141231.tar.gz
d7111fb8afe34ca52a5697bd91b641d9  fix-chunk-size.patch"
sha256sums="f2c7309a9c58c9da9c310c830c9fcb09f6ed999b074c585b4c127ad9ecba1b39  rtmpdump-2.4_git20141231.tar.gz
dbb2dc7f99bfb38c8440d60e11c03986470fef6d73d64767f9414d95812ab38c  fix-chunk-size.patch"
sha512sums="3029e7e6079b8ae444c60dee3dcabf637570a51d26d5ca546603fa1cf4e3f2c9f2a8e721a14e5710b13bd746ba73004f2ce3d46b3388b52cf5775b522d8b1eb6  rtmpdump-2.4_git20141231.tar.gz
ddc7d2a67648284eaace4304864c8aabd14b4e2b90124915058b83c6a27a1feeb77fb2c76f77168975631982dc0c6c0eeafdd6a767cd3b1e8b5d771ade072a3c  fix-chunk-size.patch"