mirror of https://git.wownero.com/dsc/mxe.git
various packages: enable shared builds
This commit is contained in:
parent
6e81d8db34
commit
c950f3635c
1
Makefile
1
Makefile
|
@ -287,6 +287,7 @@ $(PREFIX)/$(3)/installed/$(1): $(TOP_DIR)/src/$(1).mk \
|
||||||
build-only-$(1)_$(3): PKG = $(1)
|
build-only-$(1)_$(3): PKG = $(1)
|
||||||
build-only-$(1)_$(3): TARGET = $(3)
|
build-only-$(1)_$(3): TARGET = $(3)
|
||||||
build-only-$(1)_$(3): BUILD_$(if $(findstring shared,$(3)),SHARED,STATIC) = TRUE
|
build-only-$(1)_$(3): BUILD_$(if $(findstring shared,$(3)),SHARED,STATIC) = TRUE
|
||||||
|
build-only-$(1)_$(3): LIB_SUFFIX = $(if $(findstring shared,$(3)),dll,a)
|
||||||
build-only-$(1)_$(3): CMAKE_TOOLCHAIN_FILE = $(PREFIX)/$(3)/share/cmake/mxe-conf.cmake
|
build-only-$(1)_$(3): CMAKE_TOOLCHAIN_FILE = $(PREFIX)/$(3)/share/cmake/mxe-conf.cmake
|
||||||
build-only-$(1)_$(3):
|
build-only-$(1)_$(3):
|
||||||
$(if $(value $(call LOOKUP_PKG_RULE,$(1),BUILD,$(3))),
|
$(if $(value $(call LOOKUP_PKG_RULE,$(1),BUILD,$(3))),
|
||||||
|
|
|
@ -42,7 +42,7 @@ define $(PKG)_BUILD
|
||||||
--enable-pdf \
|
--enable-pdf \
|
||||||
--enable-svg \
|
--enable-svg \
|
||||||
--disable-pthread \
|
--disable-pthread \
|
||||||
CFLAGS="$(CFLAGS) -DCAIRO_WIN32_STATIC_BUILD" \
|
CFLAGS="$(CFLAGS) $(if $(BUILD_STATIC),-DCAIRO_WIN32_STATIC_BUILD)" \
|
||||||
LIBS="-lmsimg32 -lgdi32 `$(TARGET)-pkg-config pixman-1 --libs`"
|
LIBS="-lmsimg32 -lgdi32 `$(TARGET)-pkg-config pixman-1 --libs`"
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -20,7 +20,9 @@ define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
--prefix='$(PREFIX)/$(TARGET)' \
|
||||||
--cross-prefix='$(TARGET)-' \
|
--cross-prefix='$(TARGET)-' \
|
||||||
--disable-shared
|
$(if $(BUILD_STATIC), \
|
||||||
|
--enable-static --disable-shared , \
|
||||||
|
--disable-static --enable-shared )
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
$(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS='-no-undefined'
|
||||||
--disable-shared
|
$(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined'
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,9 @@ define $(PKG)_BUILD
|
||||||
--arch=$(patsubst -%,,$(TARGET)) \
|
--arch=$(patsubst -%,,$(TARGET)) \
|
||||||
--target-os=mingw32 \
|
--target-os=mingw32 \
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
--prefix='$(PREFIX)/$(TARGET)' \
|
||||||
--disable-shared \
|
$(if $(BUILD_STATIC), \
|
||||||
|
--enable-static --disable-shared , \
|
||||||
|
--disable-static --enable-shared ) \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--enable-memalign-hack \
|
--enable-memalign-hack \
|
||||||
--disable-pthreads \
|
--disable-pthreads \
|
||||||
|
|
|
@ -17,7 +17,8 @@ define $(PKG)_UPDATE
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
$(SED) -i 's,__declspec(dllimport),,' '$(1)/lib/fribidi-common.h'
|
$(if $(BUILD_STATIC),\
|
||||||
|
$(SED) -i 's/__declspec(dllimport)//' '$(1)/lib/fribidi-common.h')
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
$(MXE_CONFIGURE_OPTS) \
|
$(MXE_CONFIGURE_OPTS) \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
This file is part of MXE.
|
||||||
|
See index.html for further information.
|
||||||
|
|
||||||
diff -urN icu/source/extra/uconv/uconv.cpp icu-patch/source/extra/uconv/uconv.cpp
|
diff -urN icu/source/extra/uconv/uconv.cpp icu-patch/source/extra/uconv/uconv.cpp
|
||||||
--- icu/source/extra/uconv/uconv.cpp 2013-10-04 23:48:58.000000000 +0300
|
--- icu/source/extra/uconv/uconv.cpp 2013-10-04 23:48:58.000000000 +0300
|
||||||
+++ icu-patch/source/extra/uconv/uconv.cpp 2013-12-15 15:04:00.758431267 +0200
|
+++ icu-patch/source/extra/uconv/uconv.cpp 2013-12-15 15:04:00.758431267 +0200
|
||||||
|
|
|
@ -21,10 +21,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--build="`config.guess`" \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' MXE_CFLAGS=
|
$(MAKE) -C '$(1)' -j '$(JOBS)' MXE_CFLAGS=
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -17,8 +17,6 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -19,9 +19,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared
|
|
||||||
$(MAKE) -C '$(1)/$(TARGET)' -j '$(JOBS)'
|
$(MAKE) -C '$(1)/$(TARGET)' -j '$(JOBS)'
|
||||||
$(MAKE) -C '$(1)/$(TARGET)' -j 1 install
|
$(MAKE) -C '$(1)/$(TARGET)' -j 1 install
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)/libltdl' && ./configure \
|
cd '$(1)/libltdl' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS) \
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-ltdl-install
|
--enable-ltdl-install
|
||||||
$(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
|
$(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
|
||||||
$(MAKE) -C '$(1)/libltdl' -j 1 install
|
$(MAKE) -C '$(1)/libltdl' -j 1 install
|
||||||
|
|
|
@ -19,8 +19,6 @@ endef
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
$(SED) -i '/-fforce-mem/d' '$(1)'/configure
|
$(SED) -i '/-fforce-mem/d' '$(1)'/configure
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--disable-shared \
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install LDFLAGS='-no-undefined'
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -24,8 +24,6 @@ define $(PKG)_BUILD
|
||||||
cd '$(1)' && libtoolize
|
cd '$(1)' && libtoolize
|
||||||
cd '$(1)' && autoreconf
|
cd '$(1)' && autoreconf
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -11,7 +11,7 @@ $(PKG)_URL := http://www.mega-nerd.com/SRC/$(PKG)-$($(PKG)_VERSION).tar.gz
|
||||||
$(PKG)_DEPS := gcc
|
$(PKG)_DEPS := gcc
|
||||||
|
|
||||||
define $(PKG)_UPDATE
|
define $(PKG)_UPDATE
|
||||||
$(WGET) -q -O- 'http://www.mega-nerd.com/SRC/$(PKG)-$($(PKG)_VERSION)' | \
|
$(WGET) -q -O- 'http://www.mega-nerd.com/SRC/download.html' | \
|
||||||
$(SED) -n 's,.*$(PKG)-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
$(SED) -n 's,.*$(PKG)-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||||
grep -v 'alpha' | \
|
grep -v 'alpha' | \
|
||||||
grep -v 'beta' | \
|
grep -v 'beta' | \
|
||||||
|
@ -21,6 +21,6 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
$(MXE_CONFIGURE_OPTS)
|
$(MXE_CONFIGURE_OPTS)
|
||||||
$(MAKE) -C '$(1)' -j 1 install LDFLAGS="-no-undefined"
|
$(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined'
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -18,10 +18,6 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--build="`config.guess`" \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-static \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -19,12 +19,10 @@ define $(PKG)_BUILD
|
||||||
cd '$(1)' && chmod +x configure
|
cd '$(1)' && chmod +x configure
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--cross-prefix='$(TARGET)'- \
|
--cross-prefix='$(TARGET)'- \
|
||||||
--enable-static \
|
$(if $(BUILD_STATIC),--enable-static ) \
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
--prefix='$(PREFIX)/$(TARGET)' \
|
||||||
--libdir='$(PREFIX)/$(TARGET)/lib' \
|
--libdir='$(PREFIX)/$(TARGET)/lib' \
|
||||||
--incdir='$(PREFIX)/$(TARGET)/include/sys'
|
--incdir='$(PREFIX)/$(TARGET)/include/sys'
|
||||||
$(MAKE) -C '$(1)' -j 1
|
$(MAKE) -C '$(1)' -j 1
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--build="`config.guess`" \
|
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -18,9 +18,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -22,10 +22,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--build="`config.guess`" \
|
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -19,9 +19,6 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--build="`config.guess`" \
|
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -50,6 +50,7 @@ define $(PKG)_BUILD_COMMON
|
||||||
(echo 'set(CMAKE_SYSTEM_NAME Windows)'; \
|
(echo 'set(CMAKE_SYSTEM_NAME Windows)'; \
|
||||||
echo 'set(MSYS 1)'; \
|
echo 'set(MSYS 1)'; \
|
||||||
echo 'set(BUILD_SHARED_LIBS $(if $(BUILD_SHARED),ON,OFF))'; \
|
echo 'set(BUILD_SHARED_LIBS $(if $(BUILD_SHARED),ON,OFF))'; \
|
||||||
|
echo 'set(LIBTYPE $(if $(BUILD_SHARED),SHARED,STATIC))'; \
|
||||||
echo 'set(CMAKE_BUILD_TYPE Release)'; \
|
echo 'set(CMAKE_BUILD_TYPE Release)'; \
|
||||||
echo 'set(CMAKE_FIND_ROOT_PATH $(PREFIX)/$(TARGET))'; \
|
echo 'set(CMAKE_FIND_ROOT_PATH $(PREFIX)/$(TARGET))'; \
|
||||||
echo 'set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)'; \
|
echo 'set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)'; \
|
||||||
|
|
|
@ -20,15 +20,14 @@ endef
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
mkdir '$(1)/build'
|
mkdir '$(1)/build'
|
||||||
cd '$(1)/build' && cmake .. \
|
cd '$(1)/build' && cmake .. \
|
||||||
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
|
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'
|
||||||
-DLIBTYPE=STATIC
|
|
||||||
|
|
||||||
$(MAKE) -C '$(1)/build' -j '$(JOBS)' portmidi-static
|
$(MAKE) -C '$(1)/build' -j '$(JOBS)' portmidi-$(if $(BUILD_STATIC),static,dynamic)
|
||||||
|
|
||||||
# install library files
|
# install library files
|
||||||
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
|
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
|
||||||
$(INSTALL) -m644 '$(1)/build/libportmidi_s.a' \
|
$(INSTALL) -m644 '$(1)/build/libportmidi$(if $(BUILD_STATIC),_s).$(LIB_SUFFIX)' \
|
||||||
'$(PREFIX)/$(TARGET)/lib/libportmidi.a'
|
'$(PREFIX)/$(TARGET)/lib/libportmidi.$(LIB_SUFFIX)'
|
||||||
|
|
||||||
# install include files
|
# install include files
|
||||||
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
|
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
|
||||||
|
|
|
@ -26,9 +26,7 @@ define $(PKG)_BUILD
|
||||||
$(MAKE) -C '$(1)' -j 1 distclean
|
$(MAKE) -C '$(1)' -j 1 distclean
|
||||||
# Second step: Build for target system.
|
# Second step: Build for target system.
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS) \
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared \
|
|
||||||
--with-zlib \
|
--with-zlib \
|
||||||
--with-protoc=src/protoc_host
|
--with-protoc=src/protoc_host
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||||
|
|
|
@ -17,10 +17,10 @@ define $(PKG)_UPDATE
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
|
# https://aur.archlinux.org/packages/mi/mingw-w64-libtheora/PKGBUILD
|
||||||
|
$(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoradec-all.def'
|
||||||
|
$(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoraenc-all.def'
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--build="`config.guess`" \
|
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA=
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA=
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 8c245555c3e21dcbc3d4dbb2ecca74f609545424
|
||||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||||
$(PKG)_URL := http://ftp.gnu.org/gnu/vcdimager/$(PKG)-$($(PKG)_VERSION).tar.gz
|
$(PKG)_URL := http://ftp.gnu.org/gnu/vcdimager/$(PKG)-$($(PKG)_VERSION).tar.gz
|
||||||
$(PKG)_DEPS := gcc popt libxml2
|
$(PKG)_DEPS := gcc libcdio libxml2 popt
|
||||||
|
|
||||||
define $(PKG)_UPDATE
|
define $(PKG)_UPDATE
|
||||||
echo 'TODO: Updates for package vcdimager need to be written.' >&2;
|
echo 'TODO: Updates for package vcdimager need to be written.' >&2;
|
||||||
|
@ -18,8 +18,6 @@ endef
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && autoconf
|
cd '$(1)' && autoconf
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -19,9 +19,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -19,9 +19,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared
|
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j 1 install
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -18,10 +18,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS) \
|
||||||
--build="`config.guess`" \
|
|
||||||
--disable-shared \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
PKG_CONFIG='$(TARGET)-pkg-config'
|
PKG_CONFIG='$(TARGET)-pkg-config'
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -19,10 +19,7 @@ endef
|
||||||
|
|
||||||
define $(PKG)_BUILD_mingw-w64
|
define $(PKG)_BUILD_mingw-w64
|
||||||
cd '$(1)/mingw-w64-libraries/winpthreads' && ./configure \
|
cd '$(1)/mingw-w64-libraries/winpthreads' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--enable-static \
|
|
||||||
--disable-shared
|
|
||||||
$(MAKE) -C '$(1)/mingw-w64-libraries/winpthreads' -j '$(JOBS)' install
|
$(MAKE) -C '$(1)/mingw-w64-libraries/winpthreads' -j '$(JOBS)' install
|
||||||
|
|
||||||
$(PTHREADS_TEST)
|
$(PTHREADS_TEST)
|
||||||
|
|
|
@ -17,13 +17,10 @@ endef
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
$(SED) -i 's,yasm,$(TARGET)-yasm,g' '$(1)/configure'
|
$(SED) -i 's,yasm,$(TARGET)-yasm,g' '$(1)/configure'
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
|
$(MXE_CONFIGURE_OPTS) \
|
||||||
--cross-prefix='$(TARGET)'- \
|
--cross-prefix='$(TARGET)'- \
|
||||||
--host='$(TARGET)' \
|
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-static \
|
|
||||||
--enable-win32thread \
|
--enable-win32thread \
|
||||||
--disable-lavf \ # Avoid circular dependency with ffmpeg. Remove if undesired.
|
--disable-lavf \
|
||||||
--disable-swscale # Avoid circular dependency with ffmpeg. Remove if undesired.
|
--disable-swscale # Avoid circular dependency with ffmpeg. Remove if undesired.
|
||||||
$(MAKE) -C '$(1)' -j 1 uninstall
|
$(MAKE) -C '$(1)' -j 1 uninstall
|
||||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||||
|
|
|
@ -19,15 +19,13 @@ endef
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && autoconf
|
cd '$(1)' && autoconf
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
$(MXE_CONFIGURE_OPTS)
|
||||||
--build="`config.guess`" \
|
$(MAKE) -C '$(1)' -j 1 BUILD_DIR='build' $(if $(BUILD_STATIC),SHARED,STATIC)_LIB=
|
||||||
--prefix='$(PREFIX)/$(TARGET)'
|
|
||||||
$(MAKE) -C '$(1)' -j 1 BUILD_DIR='build' SHARED_LIB=
|
|
||||||
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
|
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
|
||||||
$(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(PREFIX)/$(TARGET)/include/'
|
$(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(PREFIX)/$(TARGET)/include/'
|
||||||
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
|
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
|
||||||
$(INSTALL) -m644 '$(1)/build/xvidcore.a' '$(PREFIX)/$(TARGET)/lib/'
|
$(INSTALL) -m644 '$(1)/build/xvidcore.$(LIB_SUFFIX)' '$(PREFIX)/$(TARGET)/lib/'
|
||||||
ln -sf '$(PREFIX)/$(TARGET)/lib/xvidcore.a' '$(PREFIX)/$(TARGET)/lib/libxvidcore.a'
|
ln -sf '$(PREFIX)/$(TARGET)/lib/xvidcore.$(LIB_SUFFIX)' '$(PREFIX)/$(TARGET)/lib/libxvidcore.$(LIB_SUFFIX)'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD_x86_64-w64-mingw32
|
define $(PKG)_BUILD_x86_64-w64-mingw32
|
||||||
|
|
Loading…
Reference in New Issue