Mercurial > mxe-octave
changeset 1259:8ab68c8615ca
improve ffmpeg: move link creation to respective packages
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Mon, 20 Sep 2010 22:20:00 +1000 |
parents | fd66bc403bc7 |
children | f496cd5041bd |
files | src/ffmpeg.mk src/sdl.mk src/xvidcore.mk |
diffstat | 3 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ffmpeg.mk Mon Sep 20 22:11:08 2010 +1000 +++ b/src/ffmpeg.mk Mon Sep 20 22:20:00 2010 +1000 @@ -19,10 +19,6 @@ endef define $(PKG)_BUILD - - ln -sf $(PREFIX)/$(TARGET)/lib/xvidcore.a $(PREFIX)/$(TARGET)/lib/libxvidcore.a - ln -sf $(PREFIX)/$(TARGET)/bin/sdl-config $(PREFIX)/bin/$(TARGET)-sdl-config - cd '$(1)' && ./configure \ --cross-prefix='$(TARGET)'- \ --enable-cross-compile \
--- a/src/sdl.mk Mon Sep 20 22:11:08 2010 +1000 +++ b/src/sdl.mk Mon Sep 20 22:20:00 2010 +1000 @@ -30,7 +30,8 @@ --enable-directx $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= - + ln -sf $(PREFIX)/$(TARGET)/bin/sdl-config $(PREFIX)/bin/$(TARGET)-sdl-config + '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl.exe' \
--- a/src/xvidcore.mk Mon Sep 20 22:11:08 2010 +1000 +++ b/src/xvidcore.mk Mon Sep 20 22:20:00 2010 +1000 @@ -30,4 +30,5 @@ $(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' $(INSTALL) -m644 '$(1)/build/xvidcore.a' '$(PREFIX)/$(TARGET)/lib/' + ln -sf $(PREFIX)/$(TARGET)/lib/xvidcore.a $(PREFIX)/$(TARGET)/lib/libxvidcore.a endef