2012-07-02 14:59:38 +00:00
|
|
|
# Template file for 'rtmpdump'
|
|
|
|
pkgname=rtmpdump
|
|
|
|
version=2.4
|
2014-04-04 23:26:16 +00:00
|
|
|
revision=4
|
2012-07-02 15:13:27 +00:00
|
|
|
makedepends="openssl-devel"
|
2012-07-02 14:59:38 +00: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 15:52:33 +00:00
|
|
|
distfiles="http://dev.gentoo.org/~hwoarang/distfiles/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=51f54d37907f19bfa00219d57ec6e12d09458bb31360e8cf004883df745f094c
|
2012-07-02 14:59:38 +00:00
|
|
|
|
|
|
|
do_build() {
|
2013-03-24 15:52:33 +00:00
|
|
|
make CC="$CC" OPT="$CFLAGS" ${makejobs}
|
2012-07-02 14:59:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/lib
|
|
|
|
make prefix=/usr mandir=/usr/share/man DESTDIR=$DESTDIR install
|
|
|
|
}
|
2013-04-14 09:53:56 +00:00
|
|
|
|
|
|
|
librtmp_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - shared library"
|
2013-04-14 09:53:56 +00:00
|
|
|
pkg_install() {
|
2014-02-17 09:39:35 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 09:53:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
librtmp-devel_package() {
|
2014-02-17 09:39:35 +00:00
|
|
|
depends="openssl-devel librtmp>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 09:53:56 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-17 09:39:35 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 09:53:56 +00:00
|
|
|
}
|
|
|
|
}
|