mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Update libsanta recipe
This commit is contained in:
committed by
Chris Roberts
parent
79852ab1d5
commit
74fa946881
@@ -1,5 +1,5 @@
|
||||
SUMMARY="Custom widget library"
|
||||
DESCRIPTION="libsanta has some useful custom widgets."
|
||||
DESCRIPTION="libsanta has some useful custom widgets (color picker, column list view, scroll view etc.)"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
|
||||
COPYRIGHT="briant@timelinevista.com"
|
||||
LICENSE="libsanta"
|
||||
@@ -25,38 +25,61 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make TYPE=STATIC \
|
||||
OBJ_DIR=build \
|
||||
OBJ_DIR=obj-static \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
|
||||
make TYPE=SHARED \
|
||||
OBJ_DIR=build \
|
||||
OBJ_DIR=obj-shared \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $developLibDir $libDir
|
||||
mkdir -p $developLibDir $developDocDir $includeDir/santa $libDir
|
||||
|
||||
cp -R Documentation $developLibDir
|
||||
cp -R Documentation/* $developDocDir
|
||||
|
||||
cd build
|
||||
cd obj-static
|
||||
cp libsanta.a $developLibDir
|
||||
|
||||
cd ../obj-shared
|
||||
cp libsanta $libDir/libsanta.so
|
||||
|
||||
cd ..
|
||||
|
||||
# Copy header files to $includeDir
|
||||
|
||||
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
|
||||
|
||||
symlinkRelative -s $libDir/libsanta.so $developLibDir
|
||||
|
||||
packageEntries devel \
|
||||
$developLibDir
|
||||
$developLibDir \
|
||||
$developDocDir \
|
||||
$includeDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libsanta${secondaryArchSuffix}_devel = $portVersion
|
||||
libsanta$secondaryArchSuffix = $portVersion
|
||||
devel:libsanta$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsanta$secondaryArchSuffix == $portVersion base
|
||||
|
||||
Reference in New Issue
Block a user