annotate src/libmad.mk @ 3632:4e78b4a9e87c

Add libcdio,mpcdec, vcdimager, a52dec, wavpack from mxe_devel * dist-files.mk: add libcdio.mk,libmpcdec-1-configure_ac.patch,libmpcdec.mk, vcdimager-* * index.html: add libcdio, libmpcdec, a52dec, wavpack * src/libcdio.mk: new file * src/libmpcdec-1-configure_ac.patch: new file * src/libmpcdec.mk: new file * src/vcdimager-1-configure.patch: new file * src/vcdimager.mk: new file * src/a52dec.mk: new file * src/wavpack-1-exec_prefix.patch: new file * src/wavpack.mk: new file
author John Donoghue <john.donoghue@ieee.org>
date Mon, 30 Jun 2014 06:10:45 -0400
parents 13be64f9f16d
children dc3eb553f5e9
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: 1499
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.
514
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libmad
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
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 := 0.15.1b
514
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := cac19cd00e1a907f3150cc040ccc077783496d76
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 759
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1466
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 759
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mad/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS :=
514
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
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: 2365
diff changeset
14 $(WGET) -q -O- 'http://sourceforge.net/projects/mad/files/libmad/' | \
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 759
diff changeset
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 759
diff changeset
16 head -1
514
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 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
20 $(SED) -i '/-fforce-mem/d' '$(1)'/configure
514
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
24 --prefix='$(HOST_PREFIX)'
3632
4e78b4a9e87c Add libcdio,mpcdec, vcdimager, a52dec, wavpack from mxe_devel
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install LDFLAGS='-no-undefined'
514
28cdf34ea090 new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef