That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
38 lines
905 B
Bash
38 lines
905 B
Bash
# Template file for 'rtmpdump'
|
|
pkgname=rtmpdump
|
|
version=2.4
|
|
revision=8
|
|
makedepends="zlib-devel libressl-devel"
|
|
short_desc="Toolkit for RTMP streams"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://rtmpdump.mplayerhq.hu/"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="http://dev.gentoo.org/~hwoarang/distfiles/${pkgname}-${version}.tar.gz"
|
|
checksum=51f54d37907f19bfa00219d57ec6e12d09458bb31360e8cf004883df745f094c
|
|
|
|
do_build() {
|
|
make CC="$CC" OPT="$CFLAGS" ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/lib
|
|
make prefix=/usr mandir=/usr/share/man DESTDIR=$DESTDIR install
|
|
}
|
|
|
|
librtmp_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
librtmp-devel_package() {
|
|
depends="${makedepends} librtmp>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|