diff --git a/ports/attr/portfile.cmake b/ports/attr/portfile.cmake new file mode 100644 index 0000000000..ff0fc36504 --- /dev/null +++ b/ports/attr/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION} + +vcpkg_download_distfile(ARCHIVE + URLS "http://download.savannah.nongnu.org/releases/attr/attr-${VERSION}.tar.xz" + FILENAME "attr-${VERSION}.tar.xz" + SHA512 9e5555260189bb6ef2440c76700ebb813ff70582eb63d446823874977307d13dfa3a347dfae619f8866943dfa4b24ccf67dadd7e3ea2637239fdb219be5d2932 +) + +vcpkg_extract_source_archive( + SOURCE_PATH + ARCHIVE ${ARCHIVE} +) + +vcpkg_configure_make( + SOURCE_PATH "${SOURCE_PATH}" + AUTOCONFIG +) + +vcpkg_install_make() +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/etc") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/doc/COPYING.LGPL") diff --git a/ports/attr/vcpkg.json b/ports/attr/vcpkg.json new file mode 100644 index 0000000000..a47a3b7229 --- /dev/null +++ b/ports/attr/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "attr", + "version-semver": "2.5.1", + "description": "Commands for Manipulating Filesystem Extended Attributes", + "homepage": "http://savannah.nongnu.org/projects/attr", + "license": "LGPL-2.1-or-later", + "supports": "linux" +} diff --git a/versions/a-/attr.json b/versions/a-/attr.json new file mode 100644 index 0000000000..b20df63daf --- /dev/null +++ b/versions/a-/attr.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "99ae42f2118c5c6d128b332dd5e914aeba6702d9", + "version-semver": "2.5.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index b462ebee69..e29da30006 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -252,6 +252,10 @@ "baseline": "2021-05-03", "port-version": 0 }, + "attr": { + "baseline": "2.5.1", + "port-version": 0 + }, "aubio": { "baseline": "2022-01-26", "port-version": 0