2012-07-02 16:59:38 +02:00
|
|
|
# Template file for 'rtmpdump'
|
|
|
|
pkgname=rtmpdump
|
|
|
|
version=2.4
|
2013-03-24 16:52:33 +01:00
|
|
|
revision=2
|
2012-07-02 17:13:27 +02:00
|
|
|
makedepends="openssl-devel"
|
2012-07-02 16:59:38 +02:00
|
|
|
short_desc="Toolkit for RTMP streams"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://rtmpdump.mplayerhq.hu/"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-03-24 16:52:33 +01:00
|
|
|
distfiles="http://dev.gentoo.org/~hwoarang/distfiles/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=51f54d37907f19bfa00219d57ec6e12d09458bb31360e8cf004883df745f094c
|
2012-07-02 16:59:38 +02:00
|
|
|
long_desc="
|
|
|
|
rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
|
|
|
|
including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://."
|
|
|
|
|
|
|
|
do_build() {
|
2013-03-24 16:52:33 +01:00
|
|
|
make CC="$CC" OPT="$CFLAGS" ${makejobs}
|
2012-07-02 16:59:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/lib
|
|
|
|
make prefix=/usr mandir=/usr/share/man DESTDIR=$DESTDIR install
|
|
|
|
}
|
2013-04-14 11:53:56 +02:00
|
|
|
|
|
|
|
librtmp_package() {
|
|
|
|
short_desc="${short_desc} -- shared library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
librtmp-devel_package() {
|
|
|
|
depends="openssl-devel librtmp>=$version"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rtmpdump_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|