Mercurial > mxe-octave
comparison src/libmpcdec.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 | d95b8b84cea7 |
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 := libmpcdec | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.2.6 | |
7 $(PKG)_CHECKSUM := 32139ff5cb43a18f7c99637da76703c63a55485a | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | |
10 $(PKG)_URL := http://files.musepack.net/source/$(PKG)-$($(PKG)_VERSION).tar.bz2 | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
14 $(WGET) -q -O- 'http://files.musepack.net/source/$(PKG)-$($(PKG)_VERSION)' | \ | |
15 $(SED) -n 's,.*$(PKG)-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
16 grep -v 'alpha' | \ | |
17 grep -v 'beta' | \ | |
18 $(SORT) -Vr | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && autoreconf -fi | |
24 cd '$(1)' && ./configure \ | |
25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
26 --prefix='$(HOST_PREFIX)' \ | |
27 $(ENABLE_SHARED_OR_STATIC) | |
28 $(MAKE) -C '$(1)' -j $(JOBS) | |
29 $(MAKE) -C '$(1)' -j 1 install | |
30 endef |