mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
libvncserver: add recipe for version 0.9.11
This commit is contained in:
85
net-libs/libvncserver/libvncserver-0.9.11.recipe
Normal file
85
net-libs/libvncserver/libvncserver-0.9.11.recipe
Normal file
@@ -0,0 +1,85 @@
|
||||
SUMMARY="Library for creating vnc servers"
|
||||
DESCRIPTION="LibVNCServer/LibVNCClient are cross-platform C libraries that \
|
||||
allow you to easily implement VNC server or client functionality in your \
|
||||
program."
|
||||
HOMEPAGE="https://libvnc.github.io/"
|
||||
COPYRIGHT="2001-2017 Johannes E. Schindelin"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894"
|
||||
SOURCE_DIR="libvncserver-LibVNCServer-$portVersion"
|
||||
PATCHES="libvncserver-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libvncserver$secondaryArchSuffix = $portVersion
|
||||
lib:libvncserver$secondaryArchSuffix = $portVersion
|
||||
lib:libvncclient$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgcrypt$secondaryArchSuffix
|
||||
lib:libgpg_error$secondaryArchSuffix
|
||||
lib:libgnutls$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libvncserver${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libvncclient$secondaryArchSuffix = $portVersion
|
||||
devel:libvncserver$secondaryArchSuffix = $portVersion
|
||||
cmd:libvncserver_config$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libvncserver$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
devel:libgnutls$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
mkdir -p $includeDir
|
||||
mv $prefix/include/* $includeDir
|
||||
rm -rf $prefix/include
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libvncclient \
|
||||
libvncserver
|
||||
packageEntries devel \
|
||||
$binDir \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user