diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-18 20:50:08 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-18 20:54:03 -0700 |
| commit | ccca198c1b1730b0241911cb56dc8e3504958b2a (patch) | |
| tree | a2dd9b8b087a09afdcecc5cbb3377bed15127eb2 /ports/openal-soft | |
| download | vcpkg-ccca198c1b1730b0241911cb56dc8e3504958b2a.tar.gz vcpkg-ccca198c1b1730b0241911cb56dc8e3504958b2a.zip | |
Initial commit
Diffstat (limited to 'ports/openal-soft')
| -rw-r--r-- | ports/openal-soft/CONTROL | 3 | ||||
| -rw-r--r-- | ports/openal-soft/portfile.cmake | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/ports/openal-soft/CONTROL b/ports/openal-soft/CONTROL new file mode 100644 index 000000000..e54c98e64 --- /dev/null +++ b/ports/openal-soft/CONTROL @@ -0,0 +1,3 @@ +Source: openal-soft +Version: 1.17.2 +Description: OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API.
\ No newline at end of file diff --git a/ports/openal-soft/portfile.cmake b/ports/openal-soft/portfile.cmake new file mode 100644 index 000000000..5e24d1630 --- /dev/null +++ b/ports/openal-soft/portfile.cmake @@ -0,0 +1,27 @@ +include(vcpkg_common_functions) +vcpkg_download_distfile(ARCHIVE + URL "http://openal-soft.org/openal-releases/openal-soft-1.17.2.tar.bz2" + FILENAME "openal-soft-1.17.2.tar.bz2" + MD5 1764e0d8fec499589b47ebc724e0913d +) +vcpkg_extract_source_archive(${ARCHIVE}) + +vcpkg_configure_cmake( + SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/openal-soft-1.17.2 + OPTIONS + -DALSOFT_UTILS=OFF + -DALSOFT_NO_CONFIG_UTIL=ON + -DALSOFT_EXAMPLES=OFF + -DALSOFT_TESTS=OFF + -DALSOFT_CONFIG=OFF + -DALSOFT_HRTF_DEFS=OFF +) + +vcpkg_build_cmake() +vcpkg_install_cmake() + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) +file(COPY ${CURRENT_BUILDTREES_DIR}/src/openal-soft-1.17.2/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/openal-soft) +file(RENAME ${CURRENT_PACKAGES_DIR}/share/openal-soft/COPYING ${CURRENT_PACKAGES_DIR}/share/openal-soft/copyright) +vcpkg_copy_pdbs() + |
