mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
lib3ds: fix soname, use safe source.
* enable x86_64.
This commit is contained in:
@@ -9,24 +9,27 @@ was changed to GNU Lesser General Public License (LGPL)."
|
||||
HOMEPAGE="http://lib3ds.org"
|
||||
COPYRIGHT="2000-2010 Jan Eric Kyprianidis"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="git://github.com/AdrianArroyoCalle/lib3ds#d477b7dc451ec88a739cc28e6d9a7564123569d0"
|
||||
PATCHES="lib3ds-2.0.0.patchset"
|
||||
REVISION="2"
|
||||
gitCommit="d477b7dc451ec88a739cc28e6d9a7564123569d0"
|
||||
SOURCE_URI="https://github.com/AdrianArroyoCalle/lib3ds/archive/$gitCommit.tar.gz"
|
||||
CHECKSUM_SHA256="04e28c09b9b1905a401686f9c27ffc520104801fb1353ed89ac6ec7f50f1104e"
|
||||
SOURCE_DIR="lib3ds-$gitCommit"
|
||||
PATCHES="lib3ds-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?x86 x86_gcc2 ?x86_64"
|
||||
ARCHITECTURES="?x86 x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
lib3ds$secondaryArchSuffix = $portVersion compat >= 2.0
|
||||
lib:lib3ds$secondaryArchSuffix = $portVersion compat >= 2.0
|
||||
lib3ds$secondaryArchSuffix = $portVersion
|
||||
lib:lib3ds$secondaryArchSuffix = 2.0 compat >= 2.0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
lib3ds${secondaryArchSuffix}_devel = $portVersion compat >= 2.0
|
||||
devel:lib3ds$secondaryArchSuffix = $portVersion compat >= 2.0
|
||||
lib3ds${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:lib3ds$secondaryArchSuffix = 2.0 compat >= 2.0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
lib3ds$secondaryArchSuffix == $portVersion
|
||||
@@ -44,17 +47,15 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . $cmakeDirArgs
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $libDir
|
||||
cp bin/liblib3ds.so.2.0 $libDir/lib3ds.so.2.0
|
||||
ln -s $libDir/lib3ds.so.2.0 $libDir/lib3ds.so
|
||||
|
||||
mkdir -p $includeDir
|
||||
mkdir -p $libDir $includeDir
|
||||
cp bin/lib3ds.so.2.0 $libDir/
|
||||
ln -sr $libDir/lib3ds.so.2.0 $libDir/lib3ds.so
|
||||
cp src/*.h $includeDir/
|
||||
|
||||
prepareInstalledDevelLibs lib3ds
|
||||
|
||||
Reference in New Issue
Block a user