mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 18:47:09 +01:00
[libaaplus] Use versioned download link (#10981)
A download link with the version in the filename is provided now for releases of aaplus. E.g. http://www.naughter.com/download/aaplus_v2.12.zip instead of previously http://www.naughter.com/download/aaplus.zip, which was overwritten, when a new version was released.
This commit is contained in:
parent
9f31167fb2
commit
9fc14ff367
@ -1,5 +1,5 @@
|
|||||||
Source: libaaplus
|
Source: libaaplus
|
||||||
Version: 2.12
|
Version: 2.12-1
|
||||||
Description: libaaplus is an astronomical computations library by naughter software
|
Description: libaaplus is an astronomical computations library by naughter software
|
||||||
Homepage: http://www.naughter.com/aa.html
|
Homepage: http://www.naughter.com/aa.html
|
||||||
|
|
||||||
|
@ -2,16 +2,16 @@ set(VERSION 2.12)
|
|||||||
|
|
||||||
vcpkg_download_distfile(
|
vcpkg_download_distfile(
|
||||||
ARCHIVE_FILE
|
ARCHIVE_FILE
|
||||||
URLS "http://www.naughter.com/download/aaplus.zip"
|
URLS "http://www.naughter.com/download/aaplus_v${VERSION}.zip"
|
||||||
FILENAME "aaplus.zip"
|
FILENAME "aaplus_v${VERSION}.zip"
|
||||||
SHA512 ec3a3d1346637fbed3ec5093ded821c6d80950a6432378d9826ed842571d8670cd5d2a1c9ff58a18f308e18669d786f72d24961e26bd8e070ee35674688a39e7
|
SHA512 ec3a3d1346637fbed3ec5093ded821c6d80950a6432378d9826ed842571d8670cd5d2a1c9ff58a18f308e18669d786f72d24961e26bd8e070ee35674688a39e7
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_extract_source_archive_ex(
|
vcpkg_extract_source_archive_ex(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
ARCHIVE ${ARCHIVE_FILE}
|
ARCHIVE ${ARCHIVE_FILE}
|
||||||
REF ${VERSION}
|
REF ${VERSION}
|
||||||
NO_REMOVE_ONE_LEVEL
|
NO_REMOVE_ONE_LEVEL
|
||||||
)
|
)
|
||||||
|
|
||||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user