summaryrefslogtreecommitdiffstats
path: root/abs/extra/rtmpdump/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-10 03:46:42 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-10 03:46:42 (GMT)
commit89eb3a1cbc905c57ebf3dd0ca15ba5aaaca4081c (patch)
tree9acebc83ea65dd2da2d4cf3b58b0fe154eb849df /abs/extra/rtmpdump/PKGBUILD
parentf780161d251a4d38000a2632ce5ed3f1584f68dc (diff)
downloadlinhes_pkgbuild-89eb3a1cbc905c57ebf3dd0ca15ba5aaaca4081c.zip
linhes_pkgbuild-89eb3a1cbc905c57ebf3dd0ca15ba5aaaca4081c.tar.gz
linhes_pkgbuild-89eb3a1cbc905c57ebf3dd0ca15ba5aaaca4081c.tar.bz2
rtmpdump: update to latest
Diffstat (limited to 'abs/extra/rtmpdump/PKGBUILD')
-rw-r--r--abs/extra/rtmpdump/PKGBUILD41
1 files changed, 28 insertions, 13 deletions
diff --git a/abs/extra/rtmpdump/PKGBUILD b/abs/extra/rtmpdump/PKGBUILD
index 33d90b1..ee3c007 100644
--- a/abs/extra/rtmpdump/PKGBUILD
+++ b/abs/extra/rtmpdump/PKGBUILD
@@ -1,19 +1,34 @@
-# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
-# Maintainer: Cecil Watson<knoppmyth@gmail.com>
-
+# Maintainer: xduugu
+# Contributor: Elis Hughes <elishughes@googlemail.com>
pkgname=rtmpdump
-pkgver=1.2a
+pkgver=2.3
pkgrel=2
-pkgdesc="A small dumper for media content streamed over the RTMP protocol."
+pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://sourceforge.net/projects/rtmpdump/"
-depends=('boost')
-source=('http://garr.dl.sourceforge.net/sourceforge/rtmpdump/rtmpdump-v1.2a.tar.gz')
+url="http://rtmpdump.mplayerhq.hu/"
+license=('LGPL')
+depends=('openssl')
+source=(
+ http://mirrors.kernel.org/gentoo/distfiles/$pkgname-$pkgver.tgz
+ # Upstream is not accessible from Vodafone/Germany
+ #http://rtmpdump.mplayerhq.hu/download/$pkgname-$pkgver.tgz
+)
+md5sums=('eb961f31cd55f0acf5aad1a7b900ef59')
+sha256sums=('ef38b7a99d82ce6912063d21063aeaf28185341b3df486e24bffce5354224b2c')
+
+#if [[ ! -e "$SRCDEST/${source[0]##*/}" ]]; then
+ #cd "$SRCDEST"
+ #download_file "$(get_downloadclient "$(get_url "${source[0]}")")" "$(get_url "${source[0]}")" "$(get_filename "${source[0]}")" \
+ #|| download_file "$(get_downloadclient "$(get_url "${source[1]}")")" "$(get_url "${source[1]}")" "$(get_filename "${source[1]}")"
+ #cd "$OLDPWD"
+#fi
build() {
- cd $startdir/src/rtmpdump
- make
- mkdir -p $startdir/pkg/usr/bin
- cp -p rtmpdump $startdir/pkg/usr/bin
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's/^install_so.0:.*/& install_base/' librtmp/Makefile
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make prefix=/usr MANDIR="$pkgdir/usr/share/man" DESTDIR="$pkgdir" install
}