annotate src/popt.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 684
diff changeset
2 # See doc/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 # popt
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := popt
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
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
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://rpm5.org/files/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
395
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_DEPS := gcc libiconv gettext
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
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 wget -q -O- 'http://rpm5.org/files/popt/' | \
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 grep 'popt-' | \
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*popt-\([0-9][^>]*\)\.tar.*,\1,p' | \
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 \
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
efb6136728a8 new package: popt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)' \
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