aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtmpdump/APKBUILD
blob: 94c77c93a09ef4d319de4a0bf5f311d2befd0580 (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
# Contributor: Carlo Landmetere
# Maintainer: 
pkgname=rtmpdump
pkgver=2.3
pkgrel=0
pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
url="http://rtmpdump.mplayerhq.hu/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="openssl-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://mirrors.kernel.org/gentoo/distfiles/$pkgname-$pkgver.tgz"

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

prepare() {
	cd "$_builddir"
	sed -i 's/^install_so.0:.*/& install_base/' librtmp/Makefile
}

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

package() {
	cd "$_builddir"
	make prefix=/usr MANDIR="$pkgdir/usr/share/man" DESTDIR="$pkgdir" install

}

md5sums="eb961f31cd55f0acf5aad1a7b900ef59  rtmpdump-2.3.tgz"