|
@@ -12,7 +12,7 @@ LIBXSLT_LICENSE_FILES = COPYING
|
|
|
|
|
|
LIBXSLT_CONF_OPT = --with-gnu-ld --without-debug \
|
|
LIBXSLT_CONF_OPT = --with-gnu-ld --without-debug \
|
|
--without-python --with-libxml-prefix=$(STAGING_DIR)/usr/
|
|
--without-python --with-libxml-prefix=$(STAGING_DIR)/usr/
|
|
-
|
|
|
|
|
|
+LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
|
LIBXSLT_DEPENDENCIES = libxml2
|
|
LIBXSLT_DEPENDENCIES = libxml2
|
|
|
|
|
|
# If we have enabled libgcrypt then use it, else disable crypto support.
|
|
# If we have enabled libgcrypt then use it, else disable crypto support.
|
|
@@ -27,21 +27,5 @@ HOST_LIBXSLT_CONF_OPT = --without-debug --without-python --without-crypto
|
|
|
|
|
|
HOST_LIBXSLT_DEPENDENCIES = host-libxml2
|
|
HOST_LIBXSLT_DEPENDENCIES = host-libxml2
|
|
|
|
|
|
-define LIBXSLT_XSLT_CONFIG_FIXUP
|
|
|
|
- $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xslt-config
|
|
|
|
- $(SED) "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xslt-config
|
|
|
|
- $(SED) "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" $(STAGING_DIR)/usr/bin/xslt-config
|
|
|
|
-endef
|
|
|
|
-
|
|
|
|
-LIBXSLT_POST_INSTALL_STAGING_HOOKS += LIBXSLT_XSLT_CONFIG_FIXUP
|
|
|
|
-
|
|
|
|
-define LIBXSLT_REMOVE_CONFIG_SCRIPTS
|
|
|
|
- $(RM) -f $(TARGET_DIR)/usr/bin/xslt-config
|
|
|
|
-endef
|
|
|
|
-
|
|
|
|
-ifneq ($(BR2_HAVE_DEVFILES),y)
|
|
|
|
-LIBXSLT_POST_INSTALL_TARGET_HOOKS += LIBXSLT_REMOVE_CONFIG_SCRIPTS
|
|
|
|
-endif
|
|
|
|
-
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|
|
$(eval $(host-autotools-package))
|