annotate src/popt.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 5d9ca8338640
children
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: 1762
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.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 395
diff changeset
3
395
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := popt
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 1.16
955
d24321cf0076 upgrade package popt
Mark Brand <mabrand@mabrand.nl>
parents: 714
diff changeset
7 $(PKG)_CHECKSUM := cfe94a15a2404db85858a81ff8de27c8ff3e235e
395
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
5090
5d9ca8338640 * src/popt.mk: update update and download url for rpm.org
John Donoghue
parents: 3480
diff changeset
10 $(PKG)_URL := http://ftp.rpm.org/mirror/popt/$($(PKG)_FILE)
1762
95dbc6448b56 add download mirror for package: popt
Volker Grabsch <vog@notjusthosting.com>
parents: 955
diff changeset
11 $(PKG)_URL_2 := http://ftp.debian.org/debian/pool/main/p/$(PKG)/$(PKG)_$($(PKG)_VERSION).orig.tar.gz
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
12 $(PKG)_DEPS := libiconv gettext
395
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
5090
5d9ca8338640 * src/popt.mk: update update and download url for rpm.org
John Donoghue
parents: 3480
diff changeset
15 $(WGET) -q -O- 'http://ftp.rpm.org/mirror/popt/' | \
395
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 grep 'popt-' | \
5090
5d9ca8338640 * src/popt.mk: update update and download url for rpm.org
John Donoghue
parents: 3480
diff changeset
17 $(SED) -n 's,.*>popt-\([0-9][^>]*\)\.tar.*,\1,p' | \
395
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 tail -1
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(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: 2525
diff changeset
24 $(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
25 --prefix='$(HOST_PREFIX)' \
395
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --enable-nls
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 endef