diff options
| author | Lily <47812810+LilyWangL@users.noreply.github.com> | 2020-05-28 07:08:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-27 16:08:36 -0700 |
| commit | 1982faa57b2206fd91e65a9976a67cd294f4918f (patch) | |
| tree | 639fd2f91aa1a8c5686ba062253e16a558187a95 | |
| parent | 7b0789fceb6880e26b64710f5feadc8cf06e83c5 (diff) | |
| download | vcpkg-1982faa57b2206fd91e65a9976a67cd294f4918f.tar.gz vcpkg-1982faa57b2206fd91e65a9976a67cd294f4918f.zip | |
[libpopt] Remove invalid URL (#11607)
| -rw-r--r-- | ports/libpopt/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libpopt/portfile.cmake | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/ports/libpopt/CONTROL b/ports/libpopt/CONTROL index 03cd3e374..7dc75fcbc 100644 --- a/ports/libpopt/CONTROL +++ b/ports/libpopt/CONTROL @@ -1,3 +1,3 @@ Source: libpopt -Version: 1.16-12 +Version: 1.16-13 Description: Library for parsing command line parameters diff --git a/ports/libpopt/portfile.cmake b/ports/libpopt/portfile.cmake index 95970e78e..a4ead066c 100644 --- a/ports/libpopt/portfile.cmake +++ b/ports/libpopt/portfile.cmake @@ -1,11 +1,8 @@ -include(vcpkg_common_functions) - set(LIBPOPT_VERSION 1.16) set(LIBPOPT_HASH bae2dd4e5d682ef023fdc77ae60c4aad01a3a576d45af9d78d22490c11e410e60edda37ede171920746d4ae0d5de3c060d15cecfd41ba75b727a811be828d694) vcpkg_download_distfile(ARCHIVE URLS - "http://rpm5.org/files/popt/popt-${LIBPOPT_VERSION}.tar.gz" "https://ftp.openbsd.org/pub/OpenBSD/distfiles/popt-${LIBPOPT_VERSION}.tar.gz" FILENAME "popt-${LIBPOPT_VERSION}.tar.gz" SHA512 ${LIBPOPT_HASH} @@ -33,5 +30,4 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libpopt) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/libpopt/COPYING ${CURRENT_PACKAGES_DIR}/share/libpopt/copyright) +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
