Add xorg-macros.

This commit is contained in:
Tobias Gruetzmacher 2015-01-14 23:47:02 +01:00
parent d0dc2e1677
commit 3b2f6ff158
2 changed files with 27 additions and 0 deletions

View File

@ -2521,6 +2521,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">xmlwrapp</td>
<td class="website"><a href="http://sourceforge.net/projects/xmlwrapp/">xmlwrapp</a></td>
</tr>
<tr>
<td class="package">xorg-macros</td>
<td class="website"><a href="http://cgit.freedesktop.org/xorg/util/macros/">X.org utility macros</a></td>
</tr>
<tr>
<td class="package">xvidcore</td>
<td class="website"><a href="http://www.xvid.org/">xvidcore</a></td>

23
src/xorg-macros.mk Normal file
View File

@ -0,0 +1,23 @@
# This file is part of MXE.
# See index.html for further information.
PKG := xorg-macros
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.19.0
$(PKG)_CHECKSUM := 00cfc636694000112924198e6b9e4d72f1601338
$(PKG)_SUBDIR := util-macros-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := http://xorg.freedesktop.org/releases/individual/util/util-macros-$($(PKG)_VERSION).tar.bz2
$(PKG)_DEPS :=
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cgit.freedesktop.org/xorg/util/macros/refs/tags' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=util-macros-\\([0-9.]*\\)'.*,\\1,p" | \
$(SORT) -V | \
tail -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure $(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j '$(JOBS)' install pkgconfigdir='$$(libdir)/pkgconfig'
endef