Files
haikuports/haiku-libs/libsanta/libsanta-3.0.1.recipe
Augustin Cavalier 6299524859 Remove cmd:mkdepend from BUILD_PREREQUIRES of makefile_engine apps.
Not needed now that the makefile_engine package depends on
cmd:mkdepend directly.
2015-07-19 13:59:19 -04:00

63 lines
1.7 KiB
Bash

SUMMARY="Deprecated custom widget library"
DESCRIPTION="Santa's Gift Bag has some useful custom widgets \
(color picker, column list view, scroll view etc.) DO NOT use for new \
applications! Use libwalter or Haiku's experimental widgets (libshared). \
This package only exists for applications that have not yet been migrated."
HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
COPYRIGHT="1997-2000 Brian Tietz"
LICENSE="libsanta"
SOURCE_URI="https://github.com/HaikuArchives/SantasGiftBag/archive/41e3b43058acb99959582187d31495cfbb8435f3.tar.gz"
CHECKSUM_SHA256="1c5ff2b0b3e2e81bbd99b226313ebf74f29fc969046bf1cf1f929bbfcb9ca763"
SOURCE_DIR="SantasGiftBag-41e3b43058acb99959582187d31495cfbb8435f3"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libsanta$secondaryArchSuffix = $portVersion
lib:libsanta$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
PROVIDES_devel="
libsanta${secondaryArchSuffix}_devel = $portVersion
devel:libsanta$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libsanta$secondaryArchSuffix == $portVersion base
"
BUILD()
{
make OBJ_DIR=objects $jobArgs
}
INSTALL()
{
mkdir -p $developDocDir/ $includeDir $libDir
cp -R docs/* $developDocDir/
cp objects/libsanta.so $libDir/libsanta.so.3.0.1
ln -s $libDir/libsanta.so.3.0.1 $libDir/libsanta.so.3
ln -s $libDir/libsanta.so.3.0.1 $libDir/libsanta.so
cp -R include/. $includeDir/
packageEntries devel \
$developDir
}