Skip to content

Commit

Permalink
[libstemmer] Update to 2.2.0 (microsoft#40531)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwang118 authored Aug 26, 2024
1 parent 3c12be0 commit 509f71e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 32 deletions.
19 changes: 0 additions & 19 deletions ports/libstemmer/LICENSE

This file was deleted.

9 changes: 5 additions & 4 deletions ports/libstemmer/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
string(SUBSTRING "${VERSION}" 5 -1 VERSION)

vcpkg_download_distfile(ARCHIVE
URLS "http://snowball.tartarus.org/dist/libstemmer_c.tgz"
FILENAME "libstemmer_c.tgz"
SHA512 9ab5b8bfd5b4071dbbd63d769e09fae3971b49ee441ad970aa95d90b3297f5ffc9deed1613d99974d1485bf3b69292663591957f52bbeddcadbf9d9a4af432f2
URLS "https://snowballstem.org/dist/libstemmer_c-${VERSION}.tar.gz"
FILENAME "libstemmer_c-${VERSION}.tar.gz"
SHA512 a61a06a046a6a5e9ada12310653c71afb27b5833fa9e21992ba4bdf615255de991352186a8736d0156ed754248a0ffb7b7712e8d5ea16f75174d1c8ddd37ba4a
)

vcpkg_extract_source_archive(
Expand All @@ -20,4 +21,4 @@ vcpkg_cmake_configure(

vcpkg_cmake_install()

file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
9 changes: 2 additions & 7 deletions ports/libstemmer/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
{
"name": "libstemmer",
"version": "2017-9",
"port-version": 8,
"version": "2021.2.2.0",
"description": "Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval",
"homepage": "https://snowball.tartarus.org/",
"homepage": "https://snowballstem.org/",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5089,8 +5089,8 @@
"port-version": 2
},
"libstemmer": {
"baseline": "2017-9",
"port-version": 8
"baseline": "2021.2.2.0",
"port-version": 0
},
"libstk": {
"baseline": "4.6.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libstemmer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "121970e398a11c25667cd1393158fb76a105ba9b",
"version": "2021.2.2.0",
"port-version": 0
},
{
"git-tree": "df38970bafcdd4475d3d15732a891ad2f897bede",
"version": "2017-9",
Expand Down

0 comments on commit 509f71e

Please sign in to comment.