mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
miniupnpc, cleanup (#8353)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
SUMMARY="UPnP IGD client lightweight library"
|
||||
DESCRIPTION="The usage of the miniUPnP client library is useful whenever an \
|
||||
application needs to listen for incoming connections.
|
||||
Examples : P2P applications, FTP clients for active mode, IRC (for DCC)
|
||||
Examples : P2P applications, FTP clients for active mode, IRC (for DCC) \
|
||||
or IM applications, network games, any server."
|
||||
HOMEPAGE="http://miniupnp.free.fr/
|
||||
https://miniupnp.tuxfamily.org/"
|
||||
COPYRIGHT="2005-2018 Thomas Bernard"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://miniupnp.free.fr/files/miniupnpc-$portVersion.tar.gz
|
||||
https://miniupnp.tuxfamily.org/files/miniupnpc-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="dce41b4a4f08521c53a0ab163ad2007d18b5e1aa173ea5803bd47a1be3159c24"
|
||||
@@ -17,7 +17,7 @@ ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="2.1"
|
||||
libVersionCompat="$libVersion compat >= 2"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%.*}"
|
||||
|
||||
PROVIDES="
|
||||
miniupnpc$secondaryArchSuffix = $portVersion
|
||||
@@ -46,21 +46,21 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . \
|
||||
-DCMAKE_BUILD_TYPE=release \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=release \
|
||||
$cmakeDirArgs \
|
||||
-Wno-dev \
|
||||
-DUPNPC_BUILD_STATIC=OFF \
|
||||
-DUPNPC_BUILD_TESTS=OFF \
|
||||
-DUPNPC_BUILD_SAMPLE=OFF
|
||||
make $jobArgs
|
||||
-DUPNPC_BUILD_SAMPLE=OFF \
|
||||
-Wno-dev
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libminiupnpc
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
|
||||
Reference in New Issue
Block a user