mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Added shared library building to the recipe file
This commit is contained in:
@@ -3,7 +3,7 @@ DESCRIPTION="libsanta has some useful custom widgets."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
|
||||
COPYRIGHT="briant@timelinevista.com"
|
||||
LICENSE="libsanta"
|
||||
SRC_URI="git+https://github.com/HaikuArchives/SantasGiftBag#59b17aa"
|
||||
SRC_URI="git+https://github.com/HaikuArchives/SantasGiftBag#4b62541"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
||||
@@ -29,7 +29,12 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make OBJ_DIR=build \
|
||||
make TYPE=STATIC \
|
||||
OBJ_DIR=build \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
|
||||
make TYPE=SHARED \
|
||||
OBJ_DIR=build \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
@@ -39,6 +44,7 @@ INSTALL()
|
||||
|
||||
cd build
|
||||
cp libsanta.a $developLibDir
|
||||
cp libsanta $developLibDir/libsanta.so
|
||||
|
||||
packageEntries devel \
|
||||
$developLibDir
|
||||
|
||||
Reference in New Issue
Block a user