blob: 9c1867293442b0931d79a62f3618605fdb819bcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
|