diff options
author | Boris Pek <tehnick-8@yandex.ru> | 2017-03-23 22:24:15 (GMT) |
---|---|---|
committer | Boris Pek <tehnick-8@yandex.ru> | 2017-04-01 14:26:38 (GMT) |
commit | 87bf1b36be008bb7b595c3c919fbf5e6557084c6 (patch) | |
tree | ad7073c235650cef77cccf9cae90ac02265a6df3 | |
parent | c0925792a0d0f5856e49d0b5394d95e4f717faeb (diff) | |
download | mxe-87bf1b36be008bb7b595c3c919fbf5e6557084c6.zip mxe-87bf1b36be008bb7b595c3c919fbf5e6557084c6.tar.gz mxe-87bf1b36be008bb7b595c3c919fbf5e6557084c6.tar.bz2 |
tidy-html5: small improvements in package
-rw-r--r-- | src/tidy-html5.mk | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/tidy-html5.mk b/src/tidy-html5.mk index e9b04c5..c711bbc 100644 --- a/src/tidy-html5.mk +++ b/src/tidy-html5.mk @@ -6,24 +6,15 @@ $(PKG)_DESCR := HTML/XML syntax checker and reformatter $(PKG)_IGNORE := $(PKG)_VERSION := 5.4.0 $(PKG)_CHECKSUM := a2d754b7349982e33f12d798780316c047a3b264240dc6bbd4641542e57a0b7a -$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) -$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := https://github.com/htacg/tidy-html5/archive/$($(PKG)_VERSION).tar.gz +$(PKG)_GH_CONF := htacg/tidy-html5 $(PKG)_DEPS := gcc -define $(PKG)_UPDATE - $(WGET) -q -O- 'https://github.com/htacg/tidy-html5/releases' | \ - $(SED) -n 's,.*/htacg/tidy-html5/archive/\([0-9][^>]*\)\.tar\.gz.*,\1,p' | \ - head -1 -endef - define $(PKG)_BUILD - mkdir '$(1).build' - cd '$(1).build' && $(TARGET)-cmake '$(1)' \ + cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \ -DTIDY_COMPAT_HEADERS:BOOL=YES \ -DBUILD_SHARED_LIB=$(CMAKE_SHARED_BOOL) - $(MAKE) -C '$(1).build' -j '$(JOBS)' - $(MAKE) -C '$(1).build' -j 1 install + $(MAKE) -C '$(BUILD_DIR)' -j $(JOBS) + $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(if $(BUILD_STATIC), cd '$(PREFIX)/$(TARGET)/lib' && mv libtidys.a libtidy.a, |