forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[attr] Add new port (microsoft#28733)
* [attr] Add new port * Use VERSION Co-authored-by: Frank <[email protected]> * Update version database Co-authored-by: Frank <[email protected]>
- Loading branch information
1 parent
4a57340
commit 17f9ced
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "99ae42f2118c5c6d128b332dd5e914aeba6702d9", | ||
"version-semver": "2.5.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters