mirror of https://git.wownero.com/dsc/mxe.git
aubio: use waf from package waf
This commit is contained in:
parent
4dc528380c
commit
e3cf5ab0fd
|
@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8
|
|||
$(PKG)_SUBDIR := aubio-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := aubio-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://www.aubio.org/pub/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc ffmpeg fftw jack libsamplerate libsndfile
|
||||
$(PKG)_DEPS := gcc ffmpeg fftw jack libsamplerate libsndfile waf
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://www.aubio.org/download' | \
|
||||
|
@ -17,11 +17,13 @@ define $(PKG)_UPDATE
|
|||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
rm -rf '$(1)/waf' '$(1)/waflib'
|
||||
cd '$(1)' && \
|
||||
AR='$(TARGET)-ar' \
|
||||
CC='$(TARGET)-gcc' \
|
||||
PKGCONFIG='$(TARGET)-pkg-config' \
|
||||
./waf configure \
|
||||
'$(PREFIX)/$(BUILD)/bin/waf' \
|
||||
configure \
|
||||
-j '$(JOBS)' \
|
||||
--with-target-platform='win$(BITS)' \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
|
@ -33,7 +35,7 @@ define $(PKG)_BUILD
|
|||
# disable txt2man and doxygen
|
||||
$(SED) -i '/\(TXT2MAN\|DOXYGEN\)/d' '$(1)/build/c4che/_cache.py'
|
||||
|
||||
cd '$(1)' && ./waf build install
|
||||
cd '$(1)' && '$(PREFIX)/$(BUILD)/bin/waf' build install
|
||||
|
||||
# It is not trivial to adjust the installation in waf-based builds
|
||||
$(if $(BUILD_STATIC), \
|
||||
|
|
Loading…
Reference in New Issue