forked from ports/contrib
rtmpdump: adopted port
This commit is contained in:
parent
160ac2a079
commit
fe8f04a39b
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30acw9kDHJc2cFj9Dk/XWcGjJRG6nInnN0YprB1NvRsRcQr1ixm3O5tloOyVlfI3XZBwezjNR2j9qDCtKWI7Yws=
|
||||
SHA256 (Pkgfile) = 2ab8c7a0985149294fcae53168e9520995922a21f9c235aa24808f8522b83270
|
||||
RWSagIOpLGJF351wRGw2hXo5VSqFNvaw96qKXVKCZwYXyqO/Dwzt0KkrN13aSrLTUIYG3vPpnzhbw2tOj8hUj1iuHxlfS6PvugU=
|
||||
SHA256 (Pkgfile) = 340e00862927dfadade851642cdd7f459aa94b05d8f0d51a457cc8081b23bdc6
|
||||
SHA256 (.footprint) = 18a78fe5a351a9baf2d0f144b99c2d06c7b8368d7dd9fe1e2a41300bbf4dad63
|
||||
SHA256 (rtmpdump-2.4-f1b83c10-4.tar.gz) = c68e05989a93c002e3ba8df3baef0021c17099aa2123a9c096a5cc8e029caf95
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Description: A tool to download rtmp streams.
|
||||
# URL: http://rtmpdump.mplayerhq.hu/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: zlib gnutls
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: gnutls
|
||||
|
||||
name=rtmpdump
|
||||
version=2.4
|
||||
@ -11,34 +11,33 @@ source=(http://git.ffmpeg.org/gitweb/$name.git/snapshot/$_commit.tar.gz)
|
||||
renames=($name-$version-${_commit:0:8}-$release.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-*
|
||||
cd $name-*
|
||||
|
||||
sed \
|
||||
-e '/^CRYPTO=/s/OPENSSL/GNUTLS/' \
|
||||
-i Makefile -i librtmp/Makefile
|
||||
sed \
|
||||
-e '/^CRYPTO=/s/OPENSSL/GNUTLS/' \
|
||||
-i Makefile -i librtmp/Makefile
|
||||
|
||||
sed \
|
||||
-e 's|OPT=|&-fPIC |' \
|
||||
-e 's|OPT|OPTS|' \
|
||||
-e 's|CFLAGS=.*|& $(OPT)|' \
|
||||
-i librtmp/Makefile
|
||||
sed \
|
||||
-e 's|OPT=|&-fPIC |' \
|
||||
-e 's|OPT|OPTS|' \
|
||||
-e 's|CFLAGS=.*|& $(OPT)|' \
|
||||
-i librtmp/Makefile
|
||||
|
||||
install -d $PKG/usr/lib
|
||||
|
||||
install -d $PKG/usr/lib
|
||||
[ "$CC" ] || CC=gcc
|
||||
|
||||
[ "$CC" ] || CC=gcc
|
||||
make \
|
||||
CC="$CC" \
|
||||
$MAKEFLAGS \
|
||||
OPT="$CFLAGS" \
|
||||
XLDFLAGS="$LDFLAGS" \
|
||||
SYS=posix
|
||||
|
||||
make \
|
||||
CC="$CC" \
|
||||
$MAKEFLAGS \
|
||||
OPT="$CFLAGS" \
|
||||
XLDFLAGS="$LDFLAGS" \
|
||||
SYS=posix
|
||||
|
||||
make \
|
||||
prefix=/usr \
|
||||
sbindir=/usr/bin \
|
||||
mandir=/usr/share/man \
|
||||
DESTDIR=$PKG \
|
||||
install
|
||||
make \
|
||||
prefix=/usr \
|
||||
sbindir=/usr/bin \
|
||||
mandir=/usr/share/man \
|
||||
DESTDIR=$PKG \
|
||||
install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user