summaryrefslogtreecommitdiffstats
path: root/src/xorg-macros.mk
diff options
context:
space:
mode:
authorTobias Gruetzmacher <tobias-git@23.gs>2015-01-14 22:47:02 (GMT)
committerTobias Gruetzmacher <tobias-git@23.gs>2015-01-16 22:37:54 (GMT)
commit3b2f6ff15845975e8127d8112e1f0db3ffe5eb7d (patch)
tree85e8c78b941f2a69f73100b2e1cf227bb457a670 /src/xorg-macros.mk
parentd0dc2e16772169cc2da89d5b3023b3260411c3e5 (diff)
downloadmxe-3b2f6ff15845975e8127d8112e1f0db3ffe5eb7d.zip
mxe-3b2f6ff15845975e8127d8112e1f0db3ffe5eb7d.tar.gz
mxe-3b2f6ff15845975e8127d8112e1f0db3ffe5eb7d.tar.bz2
Add xorg-macros.
Diffstat (limited to 'src/xorg-macros.mk')
-rw-r--r--src/xorg-macros.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/xorg-macros.mk b/src/xorg-macros.mk
new file mode 100644
index 0000000..9c18672
--- /dev/null
+++ b/src/xorg-macros.mk
@@ -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