diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/native/darwin/gettext.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/native/darwin/gettext.mk b/plugins/native/darwin/gettext.mk new file mode 100644 index 0000000..0d35e8d --- /dev/null +++ b/plugins/native/darwin/gettext.mk @@ -0,0 +1,16 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := gettext + +define $(PKG)_BUILD_$(BUILD) + # causes issues with other packages so use different prefix + # but install *.m4 files and bins to standard location + cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \ + $(MXE_CONFIGURE_OPTS) \ + --with-included-libcroco \ + --prefix='$(PREFIX)/$(TARGET).gnu' \ + --bindir='$(PREFIX)/$(TARGET)/bin' \ + --datarootdir='$(PREFIX)/$(TARGET)/share' + $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_DOCS) + $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS) +endef |