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"
|
SUMMARY="Deprecated custom widget library."
|
||||||
DESCRIPTION="
|
DESCRIPTION="Santa's Gift Bag has some useful custom widgets \
|
||||||
libsanta has some useful custom widgets (color picker, column \
|
(color picker, column list view, scroll view etc.) NOT recommended \
|
||||||
list view, scroll view etc.)
|
for new apps! Use libwalter or Haiku's built-in widgets. \
|
||||||
NOT recommended for new apps! Use Haiku's Layout Manager instead. \
|
This package only exists for applications that have not yet been migrated.
|
||||||
The recipe exists only for legacy BeOS apps.
|
|
||||||
"
|
"
|
||||||
HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
|
HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
|
||||||
COPYRIGHT="briant@timelinevista.com"
|
COPYRIGHT="1997-2000 Brian Tietz"
|
||||||
LICENSE="libsanta"
|
LICENSE="libsanta"
|
||||||
SRC_URI="git+https://github.com/HaikuArchives/SantasGiftBag#4b62541"
|
SRC_URI="https://github.com/HaikuArchives/SantasGiftBag/archive/57a3163e7430c0caa4b7cc50947f3e547d3de0c1.zip"
|
||||||
REVISION="2"
|
CHECKSUM_SHA256="239559169556df90f30dcd88b83c2acc5efdbff9b01cc8bb375129ec5f02f86f"
|
||||||
|
SOURCE_DIR="SantasGiftBag-57a3163e7430c0caa4b7cc50947f3e547d3de0c1"
|
||||||
|
REVISION="3"
|
||||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
@@ -25,6 +26,7 @@ REQUIRES="
|
|||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
makefile_engine
|
makefile_engine
|
||||||
cmd:gcc$secondaryArchSuffix
|
cmd:gcc$secondaryArchSuffix
|
||||||
@@ -33,36 +35,30 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:mkdepend
|
cmd:mkdepend
|
||||||
"
|
"
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
libsanta${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libsanta$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES_devel="
|
||||||
|
libsanta$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
make TYPE=STATIC \
|
make OBJ_DIR=objects $jobArgs
|
||||||
OBJ_DIR=obj-static \
|
|
||||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
|
||||||
|
|
||||||
make TYPE=SHARED \
|
|
||||||
OBJ_DIR=obj-shared \
|
|
||||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
mkdir -p $developLibDir $developDocDir $includeDir/santa $libDir
|
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.3
|
||||||
ln -s $libDir/libsanta.so.3.0.0 $libDir/libsanta.so
|
ln -s $libDir/libsanta.so.3.0.0 $libDir/libsanta.so
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# Copy header files to $includeDir
|
|
||||||
|
|
||||||
cp ./BetterScrollView/BetterScrollView.h \
|
cp ./BetterScrollView/BetterScrollView.h \
|
||||||
./Colors.h \
|
./Colors.h \
|
||||||
./ColumnListView/CLVColumn.h \
|
./ColumnListView/CLVColumn.h \
|
||||||
@@ -75,20 +71,8 @@ INSTALL()
|
|||||||
./PrefilledBitmap/PrefilledBitmap.h \
|
./PrefilledBitmap/PrefilledBitmap.h \
|
||||||
./ScrollViewCorner/ScrollViewCorner.h $includeDir/santa
|
./ScrollViewCorner/ScrollViewCorner.h $includeDir/santa
|
||||||
|
|
||||||
symlinkRelative -s $libDir/libsanta.so.3.0.0 $developLibDir
|
|
||||||
|
|
||||||
packageEntries devel \
|
packageEntries devel \
|
||||||
$developLibDir \
|
$developLibDir \
|
||||||
$developDocDir \
|
$developDocDir \
|
||||||
$includeDir
|
$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