mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Added libsanta recipe
This commit is contained in:
54
haiku-libs/libsanta/libsanta-0.0.1.recipe
Normal file
54
haiku-libs/libsanta/libsanta-0.0.1.recipe
Normal 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
|
||||
"
|
||||
Reference in New Issue
Block a user