mxe/src/pixman.mk

28 lines
919 B
Makefile
Raw Normal View History

2012-03-28 14:46:58 +01:00
# This file is part of MXE.
2012-03-29 11:14:15 +01:00
# See index.html for further information.
PKG := pixman
$(PKG)_IGNORE :=
2013-11-10 04:18:56 +00:00
$(PKG)_VERSION := 0.31.2
$(PKG)_CHECKSUM := 0246796a1220a52e8e98110dd1460b64e7f2476c
$(PKG)_SUBDIR := pixman-$($(PKG)_VERSION)
$(PKG)_FILE := pixman-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://cairographics.org/snapshots/$($(PKG)_FILE)
$(PKG)_URL_2 := http://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cairographics.org/snapshots/?C=M;O=D' | \
$(SED) -n 's,.*"pixman-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
2012-03-08 20:28:57 +00:00
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef