annotate src/taglib.mk @ 2511:61dca89be476

update package taglib
author Mark Brand <mabrand@mabrand.nl>
date Mon, 07 May 2012 09:04:31 +0200
parents b5321bdec505
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: 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 :=
2511
61dca89be476 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 2365
diff changeset
6 $(PKG)_CHECKSUM := e657384ccf3284db2daba32dccece74534286012
1465
b680227d8892 improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents: 956
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1465
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
533
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://developer.kde.org/~wheeler/files/src/$($(PKG)_FILE)
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc zlib
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
1465
b680227d8892 improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents: 956
diff changeset
13 wget -q -O- 'http://developer.kde.org/~wheeler/files/src/?C=M;O=D' | \
b680227d8892 improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents: 956
diff changeset
14 $(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
15 head -1
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
1652
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
19 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
20 cd '$(1)/build' && cmake .. \
1670
56c35fe3b209 improved quoting
Volker Grabsch <vog@notjusthosting.com>
parents: 1663
diff changeset
21 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
1652
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
22 -DENABLE_STATIC=ON
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
23 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install
533
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 endef