Skip to content

Commit

Permalink
[otl] Add new port (#7272)
Browse files Browse the repository at this point in the history
  • Loading branch information
dittons authored and Rastaban committed Jul 18, 2019
1 parent da717a4 commit 68e909e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/otl/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: otl
Version: 4.0.442
Description: Oracle, Odbc and DB2-CLI Template Library
Homepage: http://otl.sourceforge.net/
17 changes: 17 additions & 0 deletions ports/otl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
include(vcpkg_common_functions)

vcpkg_download_distfile(ARCHIVE
URLS "http://otl.sourceforge.net/otlv4_h2.zip"
FILENAME "otl-4.0.442.zip"
SHA512 2f4005c2351021c92b86411e9c5847757b3596c485c34aa6a7228d86c446b0d9f1dcbfd228e9262d10c7460b77af0709b8ba9d5c7599ae54442efd88ccdbb96d
)

vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
NO_REMOVE_ONE_LEVEL
REF 4.0.422
)

file(INSTALL ${SOURCE_PATH}/otlv4.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/otl)
file(INSTALL ${SOURCE_PATH}/otlv4.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/otl RENAME copyright)

0 comments on commit 68e909e

Please sign in to comment.