Mercurial > mxe-octave
annotate src/taglib.mk @ 4693:9288b72977a1
Makefile.in: Don't require --enable-64 adn --enable-fortran-int64 to match.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 08 May 2018 09:34:35 -0400 |
parents | de2eedecd6ba |
children | d862fd40cc42 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2301
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. |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := taglib |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
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.7.2 |
2511 | 7 $(PKG)_CHECKSUM := e657384ccf3284db2daba32dccece74534286012 |
1465
b680227d8892
improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents:
956
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1465
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
10 $(PKG)_URL := https://taglib.github.io/releases/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
11 $(PKG)_DEPS := zlib |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
14 $(WGET) -q -O- 'https://github.com/taglib/taglib/tags' | \ |
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
15 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | \ |
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
16 $(SORT) -Vr | \ |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
1652 | 21 mkdir '$(1)/build' |
1663
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1652
diff
changeset
|
22 cd '$(1)/build' && cmake .. \ |
1670 | 23 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
1652 | 24 -DENABLE_STATIC=ON |
25 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install | |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 endef |