blob: 07102171ef5d32bd17997e94754eac6f89115f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := jack
$(PKG)_WEBSITE := http://jackaudio.org/
$(PKG)_DESCR := JACK Audio Connection Kit
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.9.10
$(PKG)_CHECKSUM := 5bc6336e6ac9799e3cb241915e2ba5d01b030589bbb2afae39579a59ef0f2f56
$(PKG)_SUBDIR := jack-$($(PKG)_VERSION)
$(PKG)_FILE := jack-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := https://dl.dropboxusercontent.com/u/28869550/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libgnurx libsamplerate libsndfile portaudio pthreads readline
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://jackaudio.org/downloads/' | \
$(SED) -n 's,.*jack-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
# TODO: use waf installed by MXE package waf
cd '$(1)' && \
AR='$(TARGET)-ar' \
CC='$(TARGET)-gcc' \
CXX='$(TARGET)-g++' \
PKGCONFIG='$(TARGET)-pkg-config' \
./waf configure build install \
-j '$(JOBS)' \
--prefix='$(PREFIX)/$(TARGET)' \
--dist-target=mingw
endef
$(PKG)_BUILD_STATIC =
|