Mercurial > mxe-octave
annotate src/libpaper.mk @ 2855:47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 15 Nov 2012 16:11:45 -0500 |
parents | 3c52a573889a |
children | 100e618349f7 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1826
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
808 | 3 |
4 PKG := libpaper | |
5 $(PKG)_IGNORE := | |
2514 | 6 $(PKG)_CHECKSUM := 40f16453d7752bf5e3c9e74515650eb37edbb3fe |
808 | 7 $(PKG)_SUBDIR := libpaper-$($(PKG)_VERSION) |
8 $(PKG)_FILE := libpaper_$($(PKG)_VERSION).tar.gz | |
1761
1f10c699d2aa
improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
907
diff
changeset
|
9 $(PKG)_URL := http://ftp.debian.org/debian/pool/main/libp/$(PKG)/$($(PKG)_FILE) |
2601
99bacd28b9c2
package libpaper: add alternate URL
Mark Brand <mabrand@mabrand.nl>
parents:
2365
diff
changeset
|
10 $(PKG)_URL_2 := http://linux.mirrors.es.net/pub/ubuntu/pool/main/libp/$(PKG)/$($(PKG)_FILE) |
808 | 11 $(PKG)_DEPS := gcc |
12 | |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2514
diff
changeset
|
14 $(WGET) -q -O- 'http://packages.debian.org/unstable/source/libpaper' | \ |
808 | 15 $(SED) -n 's,.*libpaper_\([0-9][^>]*\)\.tar.*,\1,p' | \ |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
2514 | 22 --build="`config.guess`" \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2603
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
808 | 24 --prefix='$(PREFIX)/$(TARGET)' |
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
26 endef |