Improving recipe.

* reordering blocks
* removing unneeded openssl requirements
* stripping VBoxControl and VBoxTray, the latter would sit 8MiB fat
  in the Deskbar...
This commit is contained in:
Humdinger
2015-11-14 19:54:32 +01:00
parent 9c82639ce0
commit 7695eef2c7

View File

@@ -1,22 +1,20 @@
SUMMARY="VirtualBox kernel modules and user-space tools for Haiku guests"
DESCRIPTION="
VirtualBox is a free x86 virtualization solution allowing a wide range \
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a \
DESCRIPTION="VirtualBox is a free x86 virtualization solution allowing a wide \
range of x86 operating systems such as Windows, DOS, BSD or Linux to run on a \
Linux system.
This package contains the VirtualBox kernel modules and user-space \
tools for Haiku guests.
"
tools for Haiku guests."
HOMEPAGE="http://www.virtualbox.org/"
SOURCE_URI="svn+http://www.virtualbox.org/svn/vbox/trunk#53373"
#TODO:check user manual for full list
COPYRIGHT="2003-2014 Oracle Corporation."
#TODO:check user manual for full list
LICENSE="
GNU GPL v2
CDDL v1
"
REVISION="3"
LICENSE="GNU GPL v2
CDDL v1"
REVISION="4"
SOURCE_URI="svn+http://www.virtualbox.org/svn/vbox/trunk#53373"
PATCHES="virtualbox_guest_additions-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
@@ -25,10 +23,8 @@ PROVIDES="
cmd:VBoxService$secondaryArchSuffix = $portVersion
cmd:VBoxTray$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
openssl$secondaryArchSuffix >= 1.0.0
lib:libiconv$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
@@ -36,13 +32,11 @@ REQUIRES="
"
BUILD_REQUIRES="
openssl${secondaryArchSuffix}_devel >= 1.0.0
devel:libiconv$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
# required for kmk_* which are compiled with gcc4
haiku_x86
@@ -56,8 +50,6 @@ BUILD_PREREQUIRES="
cmd:yasm
"
PATCHES="virtualbox_guest_additions-$portVersion.patchset"
BUILD()
{
# use the checked-out kBuild for now
@@ -90,7 +82,9 @@ INSTALL()
# cp vboxvideo.accelerant $addOnsDir/accelerants
mkdir -p $binDir
cp VBoxControl VBoxTray VBoxTray $binDir
strip -S VBoxControl VBoxTray
cp VBoxControl VBoxTray $binDir
# Add a symlink to the Desktop applets directory in Deskbar
desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"