mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
DLib: bump (#2478)
This commit is contained in:
@@ -3,18 +3,21 @@ DESCRIPTION="Dlib is a modern C++ toolkit containing machine learning \
|
||||
algorithms and tools for creating complex software in C++ to solve real \
|
||||
world problems."
|
||||
HOMEPAGE="http://dlib.net/"
|
||||
COPYRIGHT="2003-2017 Davis E. King"
|
||||
COPYRIGHT="2003-2018 Davis E. King"
|
||||
LICENSE="Boost v1.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/dclib/dlib-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="dbd31f7b97166e58f366c83fa5127e9fa44c492921558b61ce63a7d775be696b"
|
||||
CHECKSUM_SHA256="a0470f978125eea13076aa9557bf0e4990a030ad8de972225dba46b45b3b3bd1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
dlib$secondaryArchSuffix = $portVersion
|
||||
lib:libdlib$secondaryArchSuffix = $portVersion
|
||||
lib:libdlib$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -29,7 +32,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
dlib${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libdlib$secondaryArchSuffix = $portVersion
|
||||
devel:libdlib$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
dlib$secondaryArchSuffix == $portVersion base
|
||||
@@ -53,13 +56,14 @@ BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
defineDebugInfoPackage dlib$secondaryArchSuffix \
|
||||
$libDir/libdlib.so.19.8.0
|
||||
$libDir/libdlib.so.$libVersion.0
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build && cd "$_"
|
||||
|
||||
cmake .. \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
$cmakeDirArgs
|
||||
|
||||
make $jobArgs
|
||||
Reference in New Issue
Block a user