add package pkgconf (optional native build)

pull/229/head
Tony Theodore 11 years ago
parent 794fa2934c
commit 9345819595

@ -1850,6 +1850,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">pixman</td>
<td class="website"><a href="http://cairographics.org/">pixman</a></td>
</tr>
<tr>
<td class="package">pkgconf</td>
<td class="website"><a href="https://github.com/pkgconf/pkgconf">pkgconf</a></td>
</tr>
<tr>
<td class="package">plib</td>
<td class="website"><a href="http://plib.sourceforge.net/">Plib</a></td>

@ -0,0 +1,26 @@
# This file is part of MXE.
# See index.html for further information.
PKG := pkgconf
$(PKG)_IGNORE :=
$(PKG)_VERSION := da179fd
$(PKG)_CHECKSUM := 1e7b5ffe35ca4580a9b801307c3bc919fd77a4fd
$(PKG)_SUBDIR := $(PKG)-$(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://github.com/$(PKG)/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS :=
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://github.com/pkgconf/pkgconf/commits/master' | \
$(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
head -1
endef
define $(PKG)_BUILD_NATIVE
cd '$(1)' && ./autogen.sh
cd '$(1)' && ./configure \
--prefix='$(PREFIX)'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
ln -sf '$(PREFIX)/bin/pkgconf' '$(PREFIX)/bin/pkg-config'
endef
Loading…
Cancel
Save