Files
haikuports/haiku-libs/libsanta/libsanta-3.0.0.recipe
Augustin Cavalier 7cdda653ab libsanta: Fix recipe.
2014-07-09 11:52:27 -04:00

79 lines
2.1 KiB
Plaintext

SUMMARY="Deprecated custom widget library."
DESCRIPTION="Santa's Gift Bag has some useful custom widgets \
(color picker, column list view, scroll view etc.) NOT recommended \
for new apps! Use libwalter or Haiku's built-in widgets. \
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"
SRC_URI="https://github.com/HaikuArchives/SantasGiftBag/archive/57a3163e7430c0caa4b7cc50947f3e547d3de0c1.zip"
CHECKSUM_SHA256="239559169556df90f30dcd88b83c2acc5efdbff9b01cc8bb375129ec5f02f86f"
SOURCE_DIR="SantasGiftBag-57a3163e7430c0caa4b7cc50947f3e547d3de0c1"
REVISION="3"
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
cmd:mkdepend
"
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 $developLibDir $developDocDir $includeDir/santa $libDir
cp -R Documentation/* $developDocDir
cp objects/libsanta.so $libDir/libsanta.so.3.0.0
ln -s $libDir/libsanta.so.3.0.0 $libDir/libsanta.so.3
ln -s $libDir/libsanta.so.3.0.0 $libDir/libsanta.so
cp ./BetterScrollView/BetterScrollView.h \
./Colors.h \
./ColumnListView/CLVColumn.h \
./ColumnListView/CLVColumnLabelView.h \
./ColumnListView/CLVEasyItem.h \
./ColumnListView/CLVListItem.h \
./ColumnListView/ColumnListView.h \
./Cursors/Cursors.h \
./NewStrings/NewStrings.h \
./PrefilledBitmap/PrefilledBitmap.h \
./ScrollViewCorner/ScrollViewCorner.h $includeDir/santa
packageEntries devel \
$developLibDir \
$developDocDir \
$includeDir
}