annotate src/matio.mk @ 2365:b5321bdec505

Move full package names from src/*.mk into package list (index.html)
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 21:41:44 +0200
parents 99516e73b368
children 4d0f3a9da57e
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: 1499
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.
1090
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := matio
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_CHECKSUM := 721b9b57f2437850dd114acca1f422622e2c47e2
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1466
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
1090
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc zlib
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
13 wget -q -O- 'http://sourceforge.net/projects/matio/files/matio/' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
15 head -1
1090
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --prefix='$(PREFIX)/$(TARGET)' \
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-shared \
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-test \
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-docs
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)'
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j 1 install
5f44e2e8256c new package: matio (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef