44 lines · 1.6 KB · Text
RawDownload
# This file is part of MXE. See LICENSE.md for licensing information. PKG             := gettext$(PKG)_WEBSITE  := https://www.gnu.org/software/gettext/$(PKG)_IGNORE   :=$(PKG)_VERSION  := 0.25$(PKG)_CHECKSUM := aa78157d5c9e042c01955091dccf7d7abd4f9463a885b0dbcc70725181ab5244$(PKG)_SUBDIR   := gettext-$($(PKG)_VERSION)$(PKG)_FILE     := gettext-$($(PKG)_VERSION).tar.lz$(PKG)_URL      := https://ftp.gnu.org/gnu/gettext/$($(PKG)_FILE)$(PKG)_URL_2    := https://ftpmirror.gnu.org/gettext/$($(PKG)_FILE)# native gettext isn't technically required, but downstream# cross-packages may need binaries and/or *.m4 files etc.$(PKG)_DEPS     := cc libiconv $(BUILD)~$(PKG) $(PKG)_TARGETS       := $(BUILD) $(MXE_TARGETS)$(PKG)_DEPS_$(BUILD) := libiconv define $(PKG)_UPDATE    $(WGET) -q -O- 'https://ftp.gnu.org/gnu/gettext/' | \    grep 'gettext-' | \    $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \    $(SORT) -Vr | \    head -1endef define $(PKG)_BUILD    cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/gettext-runtime/configure' \        $(MXE_CONFIGURE_OPTS) \        --enable-threads=win32 \        --without-libexpat-prefix \        --without-libxml2-prefix \        CONFIG_SHELL=$(SHELL)    $(MAKE) -C '$(BUILD_DIR)/intl' -j '$(JOBS)'    $(MAKE) -C '$(BUILD_DIR)/intl' -j 1 installendef define $(PKG)_BUILD_$(BUILD)    # build and install the library    cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \        $(MXE_CONFIGURE_OPTS)    $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_DOCS)    $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS)endef

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t