Mercurial > mxe-octave
annotate src/libpaper.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | 248c2279feed |
children | 4a3ca82e07c9 |
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 := | |
5119 | 6 $(PKG)_VERSION := 1.1.28 |
7 $(PKG)_CHECKSUM := c6583fbdaebe091d11d81c4e59514e58996f22ba | |
808 | 8 $(PKG)_SUBDIR := libpaper-$($(PKG)_VERSION) |
9 $(PKG)_FILE := libpaper_$($(PKG)_VERSION).tar.gz | |
1761
1f10c699d2aa
improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
907
diff
changeset
|
10 $(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
|
11 $(PKG)_URL_2 := http://linux.mirrors.es.net/pub/ubuntu/pool/main/libp/$(PKG)/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
12 $(PKG)_DEPS := |
808 | 13 |
14 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2514
diff
changeset
|
15 $(WGET) -q -O- 'http://packages.debian.org/unstable/source/libpaper' | \ |
808 | 16 $(SED) -n 's,.*libpaper_\([0-9][^>]*\)\.tar.*,\1,p' | \ |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
5038 | 21 cd '$(1)' && autoreconf -fi && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(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
|
23 $(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
|
24 --prefix='$(HOST_PREFIX)' |
808 | 25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
26 endef |