Mercurial > mxe-octave
diff src/build-pkg-config.mk @ 2972:169114e27438
also build pkg-config instead of expecting it to be present
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 05 Feb 2013 20:53:27 -0500 |
parents | |
children | b5bdf006eebc |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/build-pkg-config.mk Tue Feb 05 20:53:27 2013 -0500 @@ -0,0 +1,23 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := build-pkg-config +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := fd71a70b023b9087c8a7bb76a0dc135a61059652 +$(PKG)_SUBDIR := pkg-config-$($(PKG)_VERSION) +$(PKG)_FILE := pkg-config-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://pkgconfig.freedesktop.org/releases/$($(PKG)_FILE) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef