Skip to content

Commit

Permalink
[glbinding] Remove files from package dir and debug dir
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Nov 29, 2016
1 parent 7a2e6f6 commit 7c08cf4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/glbinding/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: glbinding
Version: 2.1.1
Version: 2.1.1-1
Description: glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API
10 changes: 10 additions & 0 deletions ports/glbinding/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake)
file(RENAME ${CURRENT_PACKAGES_DIR}/data ${CURRENT_PACKAGES_DIR}/share/data)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/data)
file(REMOVE ${CURRENT_PACKAGES_DIR}/AUTHORS
${CURRENT_PACKAGES_DIR}/LICENSE
${CURRENT_PACKAGES_DIR}/README.md
${CURRENT_PACKAGES_DIR}/VERSION
${CURRENT_PACKAGES_DIR}/debug/AUTHORS
${CURRENT_PACKAGES_DIR}/debug/LICENSE
${CURRENT_PACKAGES_DIR}/debug/README.md
${CURRENT_PACKAGES_DIR}/debug/VERSION
)

# Handle copyright
file(COPY ${CURRENT_BUILDTREES_DIR}/src/glbinding-2.1.1/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/glbinding)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/glbinding/LICENSE ${CURRENT_PACKAGES_DIR}/share/glbinding/copyright)
Expand Down

0 comments on commit 7c08cf4

Please sign in to comment.