summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2014-03-02 20:53:06 +1100
committerDanny Rawlins <monster.romster@gmail.com>2014-03-02 20:55:47 +1100
commit03b09bdc4893d51e1f9a9b653a7be37a7e4511ad (patch)
treeb18b7420fd28027ac483530bcbbf864665c8a5b4
parentc0624eb0f45b50de4c46def05ac6b59ffea4a6ec (diff)
downloadcontrib-03b09bdc4893d51e1f9a9b653a7be37a7e4511ad.tar.gz
contrib-03b09bdc4893d51e1f9a9b653a7be37a7e4511ad.tar.xz
rtmpdump: 20121230 -> 2.4
-rw-r--r--rtmpdump/.footprint4
-rw-r--r--rtmpdump/.md5sum2
-rw-r--r--rtmpdump/Pkgfile26
3 files changed, 22 insertions, 10 deletions
diff --git a/rtmpdump/.footprint b/rtmpdump/.footprint
index 3a41b8355..55e78940a 100644
--- a/rtmpdump/.footprint
+++ b/rtmpdump/.footprint
@@ -12,8 +12,8 @@ drwxr-xr-x root/root usr/include/librtmp/
-rw-r--r-- root/root usr/include/librtmp/rtmp.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/librtmp.a
-lrwxrwxrwx root/root usr/lib/librtmp.so -> librtmp.so.0
--rwxr-xr-x root/root usr/lib/librtmp.so.0
+lrwxrwxrwx root/root usr/lib/librtmp.so -> librtmp.so.1
+-rwxr-xr-x root/root usr/lib/librtmp.so.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/librtmp.pc
drwxr-xr-x root/root usr/man/
diff --git a/rtmpdump/.md5sum b/rtmpdump/.md5sum
index 472d0a707..fe5c45652 100644
--- a/rtmpdump/.md5sum
+++ b/rtmpdump/.md5sum
@@ -1 +1 @@
-d5aee7a6cf4f7be15571136a1447901c rtmpdump-git-20121230.tar.xz
+181fb22195b8ac1f108c194b69de8c56 rtmpdump-2.4_p20131018.tar.gz
diff --git a/rtmpdump/Pkgfile b/rtmpdump/Pkgfile
index 02a071bd8..1fed67a48 100644
--- a/rtmpdump/Pkgfile
+++ b/rtmpdump/Pkgfile
@@ -5,17 +5,29 @@
# Depends on: zlib openssl
name=rtmpdump
-version=20121230
+version=2.4
release=1
-source=(http://crux.ster.so/distfiles/$name/$name-git-$version.tar.xz)
+source=(http://crux.ster.so/distfiles/$name/$name-${version}_p20131018.tar.gz)
build() {
- cd $name-$version
+ sed -i 's/\$(MAKEFLAGS)//g' Makefile
+
+ sed -i \
+ -e 's|OPT=|&-fPIC |' \
+ -e 's|OPT|OPTS|' \
+ -e 's|CFLAGS=.*|& $(OPT)|' \
+ librtmp/Makefile
+
install -d $PKG/usr/lib
- [ "$CC" ] || CC=gcc
- make CC="$CC" $MAKEFLAGS
- make prefix=/usr sbindir=/usr/bin mandir=/usr/man \
- DESTDIR=$PKG install
+ make CRYPTO=OPENSSL SYS=posix
+
+ make \
+ CRYPTO=OPENSSL \
+ prefix=/usr \
+ sbindir=/usr/bin \
+ mandir=/usr/man \
+ DESTDIR=$PKG \
+ install
}

Generated by cgit