annotate src/libpaper.mk @ 6524:4a3ca82e07c9

* src/libpaper.mk: use DESTDIR
author John Donoghue <john.donoghue@ieee.org>
date Wed, 16 Nov 2022 08:43:45 -0500
parents 248c2279feed
children 9a9b220319b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libpaper
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5119
248c2279feed update libpaper, gdal
John Donoghue
parents: 5038
diff changeset
6 $(PKG)_VERSION := 1.1.28
248c2279feed update libpaper, gdal
John Donoghue
parents: 5038
diff changeset
7 $(PKG)_CHECKSUM := c6583fbdaebe091d11d81c4e59514e58996f22ba
808
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := libpaper-$($(PKG)_VERSION)
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,.*libpaper_\([0-9][^>]*\)\.tar.*,\1,p' | \
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
5038
993e61c56602 libpaper: update to 1.1.26
John Donoghue
parents: 3480
diff changeset
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)'
6524
4a3ca82e07c9 * src/libpaper.mk: use DESTDIR
John Donoghue <john.donoghue@ieee.org>
parents: 5119
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS)
808
ce91389b2d08 new package: libpaper
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef