aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtmpdump/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/rtmpdump/APKBUILD')
-rw-r--r--main/rtmpdump/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/rtmpdump/APKBUILD b/main/rtmpdump/APKBUILD
new file mode 100644
index 0000000000..70a0bc2d7f
--- /dev/null
+++ b/main/rtmpdump/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Carlo Landmetere
+# Maintainer:
+pkgname=rtmpdump
+pkgver=2.3
+pkgrel=1
+pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
+url="http://rtmpdump.mplayerhq.hu/"
+arch="all"
+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"