live555: Build and install improvements (#590)

* Fix install directories.
* Add BUILD_REQUIRES.
* Add REQUIRES_DEVEL.
This commit is contained in:
Barrett17
2016-05-09 09:25:11 +02:00
committed by Jérôme Duval
parent ebef193bae
commit bfb5e0a92e

View File

@@ -26,9 +26,15 @@ REQUIRES="
PROVIDES_devel="
live555${secondaryArchSuffix}_devel = $portVersion
"
REQUIRES_devel="
live555$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:ld$secondaryArchSuffix
@@ -42,5 +48,6 @@ BUILD()
INSTALL()
{
make install
make install PREFIX=$prefix INSTALLDIR=$prefix/bin LIBDIR=$developDir/lib \
MANDIR=$manDir/man1 BINDIR=$binDir DESTDIR=${DESTDIR}
}