aboutsummaryrefslogtreecommitdiff
path: root/ports/itpp
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-06-27 06:06:30 +0800
committerGitHub <noreply@github.com>2020-06-26 15:06:30 -0700
commita0e0c57f865937cdda81c21ad9327e606f7dc930 (patch)
tree86b0d97dd67594d12f3283c1c46cc5e690c1a258 /ports/itpp
parent81ae2ed94bf51fdd453b383135a809dea3d45cce (diff)
downloadvcpkg-a0e0c57f865937cdda81c21ad9327e606f7dc930.tar.gz
vcpkg-a0e0c57f865937cdda81c21ad9327e606f7dc930.zip
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899)
Diffstat (limited to 'ports/itpp')
-rw-r--r--ports/itpp/CONTROL6
-rw-r--r--ports/itpp/portfile.cmake11
2 files changed, 7 insertions, 10 deletions
diff --git a/ports/itpp/CONTROL b/ports/itpp/CONTROL
index 6adac7303..8b1ae7701 100644
--- a/ports/itpp/CONTROL
+++ b/ports/itpp/CONTROL
@@ -1,4 +1,4 @@
-Source: itpp
-Version: 4.3.1-2
-Homepage: http://itpp.sourceforge.net
+Source: itpp
+Version: 4.3.1-3
+Homepage: http://itpp.sourceforge.net
Description: IT++ is a C++ library of mathematical, signal processing and communication classes and functions. Its main use is in simulation of communication systems and for performing research in the area of communications. \ No newline at end of file
diff --git a/ports/itpp/portfile.cmake b/ports/itpp/portfile.cmake
index 30905e200..730607b37 100644
--- a/ports/itpp/portfile.cmake
+++ b/ports/itpp/portfile.cmake
@@ -1,14 +1,11 @@
set(ITPP_VERSION 4.3.1)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://sourceforge.net/projects/itpp/files/itpp/${ITPP_VERSION}/itpp-${ITPP_VERSION}.tar.bz2"
- FILENAME "itpp-${ITPP_VERSION}.tar.bz2"
- SHA512 b46d048fa7f33e80d2291a5e38e205c159791ea200f92c70d69e8ad8447ac2f0c847fece566a99af739853a1643cb16e226b4200c8bf115417f324e6d38c66bd
-)
-vcpkg_extract_source_archive_ex(
+vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
+ REPO itpp/itpp
REF ${ITPP_VERSION}
+ FILENAME "itpp-${ITPP_VERSION}.tar.bz2"
+ SHA512 b46d048fa7f33e80d2291a5e38e205c159791ea200f92c70d69e8ad8447ac2f0c847fece566a99af739853a1643cb16e226b4200c8bf115417f324e6d38c66bd
PATCHES
msvc2013.patch
fix-uwp.patch