Added shared library building to the recipe file

This commit is contained in:
Theodore Kokkoris
2013-12-09 18:40:57 +00:00
parent aba55658e3
commit 42cc2d066a

View File

@@ -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