Mercurial > mxe-octave
comparison src/a52dec.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 | |
children | defc73aa0f87 |
comparison
equal
deleted
inserted
replaced
3631:f11ee3f8e632 | 3632:4e78b4a9e87c |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := a52dec | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 0.7.4 | |
7 $(PKG)_CHECKSUM := 79b33bd8d89dad7436f85b9154ad35667aa37321 | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://liba52.sourceforge.net/files/$(PKG)-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
14 $(WGET) -q -O- 'http://liba52.sourceforge.net/downloads.html' | \ | |
15 $(SED) -n 's,.*files/a52dec-\([0-9][^"]*\)\.tar.*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && autoreconf -fi # The autotools files came with a52dec is _ancient_ | |
21 cd '$(1)' && ./configure \ | |
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
23 --prefix='$(HOST_PREFIX)' \ | |
24 $(ENABLE_SHARED_OR_STATIC) | |
25 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
26 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
27 endef |