mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[ccfits] Fix usage (#18197)
* [ccfits] Fix usage * update version * fix header name * update baseline record
This commit is contained in:
parent
40ad15cac1
commit
6fd8355aff
@ -1,6 +0,0 @@
|
||||
Source: ccfits
|
||||
Version: 2.5
|
||||
Port-Version: 6
|
||||
Homepage: https://heasarc.gsfc.nasa.gov/fitsio/ccfits
|
||||
Description: CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++.
|
||||
Build-Depends: cfitsio
|
@ -39,5 +39,9 @@ foreach(HEADER IN LISTS HEADERS)
|
||||
file(WRITE "${HEADER}" "${_contents}")
|
||||
endforeach()
|
||||
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/CCfits/CCfits.h
|
||||
"#include \"longnam.h\"" "#include \"cfitsio/longnam.h\""
|
||||
)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
10
ports/ccfits/vcpkg.json
Normal file
10
ports/ccfits/vcpkg.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "ccfits",
|
||||
"version": "2.5",
|
||||
"port-version": 7,
|
||||
"description": "CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++.",
|
||||
"homepage": "https://heasarc.gsfc.nasa.gov/fitsio/ccfits",
|
||||
"dependencies": [
|
||||
"cfitsio"
|
||||
]
|
||||
}
|
@ -1154,7 +1154,7 @@
|
||||
},
|
||||
"ccfits": {
|
||||
"baseline": "2.5",
|
||||
"port-version": 6
|
||||
"port-version": 7
|
||||
},
|
||||
"cctz": {
|
||||
"baseline": "2.3-2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "adb43da4a1d72e0924081e4699d81337d649400e",
|
||||
"version": "2.5",
|
||||
"port-version": 7
|
||||
},
|
||||
{
|
||||
"git-tree": "c72b341528629e93108ce5317dd3802dc9b4ac11",
|
||||
"version-string": "2.5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user