mirror of https://git.wownero.com/dsc/mxe.git
add package gperf (for build-requirements)
This commit is contained in:
parent
89a6f46b21
commit
999e533e05
|
@ -1354,6 +1354,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
|
|||
<td class="package">gnutls</td>
|
||||
<td class="website"><a href="https://www.gnu.org/software/gnutls/">GnuTLS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">gperf</td>
|
||||
<td class="website"><a href="https://www.gnu.org/software/gperf/">GNU gperf</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">graphicsmagick</td>
|
||||
<td class="website"><a href="http://www.graphicsmagick.org/">GraphicsMagick</a></td>
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := gperf
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 3.0.4
|
||||
$(PKG)_CHECKSUM := e32d4aff8f0c730c9a56554377b2c6d82d0951b8
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS :=
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/gperf/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="gperf-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
Loading…
Reference in New Issue