Mercurial > mxe-octave
annotate src/taglib.mk @ 4066:0962acdde3be
builld: allow out of source build
* Makefile.in: add TOP_BUILD_DIR var and use TOP_DIR=srcdir, TOP_BUILD_DIR=builddir, modify paths to use TOP_DIR where needed
* binary-dist-rules.mk: use TOP_DIR and TOP_BUILD_DIR where needed
* makeinst-script.sh: use script path to determine TOPDIR, use TOPDIR where needed
* src/default-octave.mk: install octave-version to builddir
* src/stable-octave.mk: install octave-version to builddir
* src/octave.mk: install octave-version to builddir
* tools/set-mxe-env.sh.in: update fir builddir and srcdir use
author | John Donoghue |
---|---|
date | Wed, 23 Dec 2015 08:11:04 -0500 |
parents | 13be64f9f16d |
children | de2eedecd6ba |
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 |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://developer.kde.org/~wheeler/files/src/$($(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 |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2511
diff
changeset
|
14 $(WGET) -q -O- 'http://developer.kde.org/~wheeler/files/src/?C=M;O=D' | \ |
1465
b680227d8892
improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents:
956
diff
changeset
|
15 $(SED) -n 's,.*"taglib-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 head -1 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
1652 | 20 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
|
21 cd '$(1)/build' && cmake .. \ |
1670 | 22 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
1652 | 23 -DENABLE_STATIC=ON |
24 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install | |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 endef |