mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
rtmpdump: use gentoo snapshot.
* fix lib packaging.
This commit is contained in:
91
media-video/rtmpdump/rtmpdump-2.4_20161210.recipe
Normal file
91
media-video/rtmpdump/rtmpdump-2.4_20161210.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
SUMMARY="Open source command-line RTMP client"
|
||||
DESCRIPTION="rtmpdump is an open-source command-line RTMP client intended \
|
||||
to stream audio of video flash content."
|
||||
HOMEPAGE="http://rtmpdump.mplayerhq.hu/"
|
||||
COPYRIGHT="2009 Andrej Stepanchuk
|
||||
2009-2011 Howard Chu
|
||||
2010 2a665470ced7adb7156fcef47f8199a6371c117b8a79e399a2771e0b36384090
|
||||
2011 33ae1ce77301f4b4494faaa5f609f3c48b9dcf82
|
||||
"
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU GPL v2
|
||||
"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://dev.gentoo.org/~hwoarang/distfiles/rtmpdump-2.4_p20161210.tar.gz"
|
||||
CHECKSUM_SHA256="d6da3b683f1045f02d94a81b0c583318dba021f69bdab970c5d5d73e8c38860f"
|
||||
SOURCE_DIR=""
|
||||
PATCHES="rtmpdump-2.4_git.patch"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
rtmpdump$secondaryArchSuffix = $portVersion compat >= 2.4
|
||||
lib:librtmp.1$secondaryArchSuffix = 1 compat >= 1
|
||||
cmd:rtmpdump = $portVersion compat >= 2.4
|
||||
cmd:rtmpgw = $portVersion compat >= 2.4
|
||||
cmd:rtmpsrv = $portVersion compat >= 2.4
|
||||
cmd:rtmpsuck = $portVersion compat >= 2.4
|
||||
"
|
||||
# commands are provided in /bin regardless
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
rtmpdump${secondaryArchSuffix}_devel = $portVersion compat >= 2.4
|
||||
devel:librtmp$secondaryArchSuffix = 1 compat >= 1
|
||||
devel:librtmp.1$secondaryArchSuffix = 1 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
rtmpdump$secondaryArchSuffix == $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:awk
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs SYS=haiku \
|
||||
prefix=$prefix \
|
||||
bindir=$prefix/bin \
|
||||
sbindir=$prefix/bin \
|
||||
incdir=$includeDir \
|
||||
libdir=$libDir \
|
||||
mandir=$manDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make $jobArgs SYS=haiku \
|
||||
prefix=$prefix \
|
||||
bindir=$prefix/bin \
|
||||
sbindir=$prefix/bin \
|
||||
incdir=$includeDir \
|
||||
libdir=$libDir \
|
||||
mandir=$manDir \
|
||||
install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
librtmp.1
|
||||
rm $libDir/librtmp.so
|
||||
mv $libDir/librtmp.a $developLibDir
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user