diff options
Diffstat (limited to 'vcpkg/ports/libsass')
| -rw-r--r-- | vcpkg/ports/libsass/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/libsass/remove_compiler_flags.patch | 24 | ||||
| -rw-r--r-- | vcpkg/ports/libsass/vcpkg.json | 7 |
3 files changed, 49 insertions, 0 deletions
diff --git a/vcpkg/ports/libsass/portfile.cmake b/vcpkg/ports/libsass/portfile.cmake new file mode 100644 index 0000000..8651e7d --- /dev/null +++ b/vcpkg/ports/libsass/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO sass/libsass + REF "${VERSION}" + SHA512 659828c854af391c10a16954425fbeeb5fa036189dea45555cd8046338f7469eb7f8d84134030ce644921514b8f397ef6070b56dfb116ea7ce94328d64576518 + HEAD_REF master + PATCHES remove_compiler_flags.patch +) + +vcpkg_configure_make( + SOURCE_PATH "${SOURCE_PATH}" + AUTOCONFIG +) +vcpkg_install_make(MAKEFILE GNUmakefile) +vcpkg_fixup_pkgconfig() +vcpkg_copy_pdbs() + +file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/libsass/remove_compiler_flags.patch b/vcpkg/ports/libsass/remove_compiler_flags.patch new file mode 100644 index 0000000..8a697ee --- /dev/null +++ b/vcpkg/ports/libsass/remove_compiler_flags.patch @@ -0,0 +1,24 @@ +diff --git a/GNUmakefile.am b/GNUmakefile.am +index 06a1d0c1e..6e7a15485 100644 +--- a/GNUmakefile.am ++++ b/GNUmakefile.am +@@ -1,6 +1,6 @@ + ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -I script + +-AM_COPT = -Wall -O2 ++AM_COPT = + AM_COVLDFLAGS = + + if ENABLE_COVERAGE +diff --git a/src/GNUmakefile.am b/src/GNUmakefile.am +index 9b0e6a99b..00404a017 100644 +--- a/src/GNUmakefile.am ++++ b/src/GNUmakefile.am +@@ -1,6 +1,6 @@ + ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -I script + +-AM_COPT = -Wall -O2 ++AM_COPT = + AM_COVLDFLAGS = + + if ENABLE_COVERAGE diff --git a/vcpkg/ports/libsass/vcpkg.json b/vcpkg/ports/libsass/vcpkg.json new file mode 100644 index 0000000..afd0547 --- /dev/null +++ b/vcpkg/ports/libsass/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "libsass", + "version": "3.6.6", + "description": "LibSass - Sass compiler written in C++", + "homepage": "https://github.com/sass/libsass", + "supports": "!uwp" +} |