annotate src/taglib.mk @ 1670:56c35fe3b209

improved quoting
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 17 Mar 2011 01:54:10 +0100
parents 9577f70222f8
children 26f7c0229f03
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 533
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/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 # TagLib
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := taglib
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
1652
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
7 $(PKG)_VERSION := 1.7
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
8 $(PKG)_CHECKSUM := 5138e1665182bc2171e298ff31518c9ad72ddf23
1465
b680227d8892 improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents: 956
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1465
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
533
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://developer.kde.org/~wheeler/taglib.html
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(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
13 $(PKG)_DEPS := gcc zlib
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1465
b680227d8892 improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents: 956
diff changeset
16 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
17 $(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
18 head -1
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
1652
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
22 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
23 cd '$(1)/build' && cmake .. \
1670
56c35fe3b209 improved quoting
Volker Grabsch <vog@notjusthosting.com>
parents: 1663
diff changeset
24 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
1652
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
25 -DENABLE_STATIC=ON
34e2c7640502 update package taglib
Mark Brand <mabrand@mabrand.nl>
parents: 1499
diff changeset
26 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install
533
aba85d15295c new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef