Mercurial > mxe-octave
annotate src/libpaper.mk @ 3013:bcc26ffe9a0f
use variable for --host and --build configure arguments
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 12:40:32 -0400 |
parents | 100e618349f7 |
children | 5ef49fb3299d |
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 \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2603
diff
changeset
|
22 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' |
808 | 24 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
25 endef |