Added libsanta recipe

This commit is contained in:
Theodore Kokkoris
2013-12-08 13:05:03 +00:00
parent af0dd29258
commit b07cecc9e7
2 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
SUMMARY="Custom widget library"
DESCRIPTION="libsanta has some useful custom widgets."
HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
COPYRIGHT="briant@timelinevista.com"
LICENSE="libsanta"
SRC_URI="git+https://github.com/HaikuArchives/SantasGiftBag#59b17aa"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
libsanta$secondaryArchSuffix = $portVersion
lib:libsanta$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
mkdir -p $developLibDir
cd objects.x86-gcc2-release
cp libsanta.a $developLibDir
packageEntries devel \
$developLibDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libsanta${secondaryArchSuffix}_devel = $portVersion
libsanta$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libsanta$secondaryArchSuffix == $portVersion base
"