Mercurial > mxe-octave
annotate src/taglib.mk @ 1235:7e9f957b3239
package openal: combine patch files, portability fixes, and add test program
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Fri, 01 Oct 2010 02:03:08 +1000 |
parents | 9a8f1b49a25f |
children | b680227d8892 |
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 := |
956
9a8f1b49a25f
upgrade packages boost gdal glew gst-plugins-base gstreamer gtk libgpg_error libgsf libpng librsvg libunistring taglib
Mark Brand <mabrand@mabrand.nl>
parents:
882
diff
changeset
|
7 $(PKG)_VERSION := 1.6.3 |
9a8f1b49a25f
upgrade packages boost gdal glew gst-plugins-base gstreamer gtk libgpg_error libgsf libpng librsvg libunistring taglib
Mark Brand <mabrand@mabrand.nl>
parents:
882
diff
changeset
|
8 $(PKG)_CHECKSUM := ee54f10c63f236ef1c29c82e39c227a75a7e3785 |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := taglib-$($(PKG)_VERSION) |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := taglib-$($(PKG)_VERSION).tar.gz |
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 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://websvn.kde.org/tags/taglib/?sortby=date' | \ |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 grep '<a name="' | \ |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*<a name="\([0-9][^"]*\)".*,\1,p' | \ |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
23 $(SED) -i '/#define TAGLIB_EXPORT_H/a#define TAGLIB_STATIC' '$(1)/taglib/taglib_export.h' |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 # wine confuses the cross-compiling detection, so set it explicitly |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
25 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 cd '$(1)' && ./configure \ |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --host='$(TARGET)' \ |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --disable-shared \ |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --prefix='$(PREFIX)/$(TARGET)' |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 endef |