mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
libsanta: Fix recipe.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
SUMMARY="Custom widget library"
|
||||
DESCRIPTION="
|
||||
libsanta has some useful custom widgets (color picker, column \
|
||||
list view, scroll view etc.)
|
||||
NOT recommended for new apps! Use Haiku's Layout Manager instead. \
|
||||
The recipe exists only for legacy BeOS apps.
|
||||
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="briant@timelinevista.com"
|
||||
COPYRIGHT="1997-2000 Brian Tietz"
|
||||
LICENSE="libsanta"
|
||||
SRC_URI="git+https://github.com/HaikuArchives/SantasGiftBag#4b62541"
|
||||
REVISION="2"
|
||||
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"
|
||||
|
||||
@@ -25,6 +26,7 @@ REQUIRES="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
@@ -33,36 +35,30 @@ BUILD_PREREQUIRES="
|
||||
cmd:mkdepend
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsanta${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsanta$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libsanta$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make TYPE=STATIC \
|
||||
OBJ_DIR=obj-static \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
|
||||
make TYPE=SHARED \
|
||||
OBJ_DIR=obj-shared \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
make OBJ_DIR=objects $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $developLibDir $developDocDir $includeDir/santa $libDir
|
||||
|
||||
cp -R Documentation/* $developDocDir
|
||||
|
||||
cd obj-static
|
||||
cp libsanta.a $developLibDir
|
||||
|
||||
cd ../obj-shared
|
||||
cp libsanta $libDir/libsanta.so.3.0.0
|
||||
|
||||
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
|
||||
|
||||
cd ..
|
||||
|
||||
# Copy header files to $includeDir
|
||||
|
||||
|
||||
cp ./BetterScrollView/BetterScrollView.h \
|
||||
./Colors.h \
|
||||
./ColumnListView/CLVColumn.h \
|
||||
@@ -75,20 +71,8 @@ INSTALL()
|
||||
./PrefilledBitmap/PrefilledBitmap.h \
|
||||
./ScrollViewCorner/ScrollViewCorner.h $includeDir/santa
|
||||
|
||||
symlinkRelative -s $libDir/libsanta.so.3.0.0 $developLibDir
|
||||
|
||||
packageEntries devel \
|
||||
$developLibDir \
|
||||
$developDocDir \
|
||||
$includeDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libsanta${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsanta$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsanta$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user