diff options
Diffstat (limited to 'vars')
-rw-r--r-- | vars/clang_host.vars | 27 | ||||
-rw-r--r-- | vars/cmake.vars | 63 | ||||
l--------- | vars/cmake_host.vars | 1 | ||||
-rw-r--r-- | vars/libjpeg_turbo.vars | 24 | ||||
-rw-r--r-- | vars/libsolv.vars | 41 | ||||
-rw-r--r-- | vars/libssh.vars | 27 | ||||
-rw-r--r-- | vars/libzip.vars | 63 | ||||
l--------- | vars/libzip_host.vars | 1 | ||||
-rw-r--r-- | vars/llvm_host.vars | 28 | ||||
-rw-r--r-- | vars/lolcode.vars | 19 | ||||
-rw-r--r-- | vars/minizip.vars | 31 | ||||
-rw-r--r-- | vars/openjpeg.vars | 33 | ||||
-rw-r--r-- | vars/tdnf.vars | 31 | ||||
-rw-r--r-- | vars/xpdf.vars | 25 |
14 files changed, 0 insertions, 414 deletions
diff --git a/vars/clang_host.vars b/vars/clang_host.vars deleted file mode 100644 index b9909276..00000000 --- a/vars/clang_host.vars +++ /dev/null @@ -1,27 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_clang_host_configure() { - if ! rtl_fileop rm "../cfe-${PKG_VERSION}-host" \ - || ! rtl_fileop mkdir "../cfe-${PKG_VERSION}-host" \ - || ! rtl_fileop cd "../cfe-${PKG_VERSION}-host" \ - || ! rtl_log_msg verbose "Bootstrapping clang_host..." \ - || ! ("${PREFIX}/bin/cmake" \ - "../cfe-${PKG_VERSION}.src" \ - -DCLANG_BUILD_EXAMPLES:BOOL=OFF \ - -DCLANG_INCLUDE_DOCS:BOOL=OFF \ - -DCLANG_INCLUDE_TESTS:BOOL=OFF \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_VERBOSE_MAKEFILE=NO \ - -DLIBCLANG_BUILD_STATIC:BOOL=ON \ - -DLLVM_PREFIX="${PKG_PREFIX}" \ - -G "Unix Makefiles" \ - -Wno-dev) \ - || ! rtl_log_msg verbose "Finished bootstrapping clang_host."; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/cmake.vars b/vars/cmake.vars deleted file mode 100644 index df190732..00000000 --- a/vars/cmake.vars +++ /dev/null @@ -1,63 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_cmake_configure() { - if ! rtl_fileop cp "${PREFIX}/share/cmake-${PKG_VERSION%.*}/Modules/Platform/BSDOS.cmake" \ - "${PREFIX}/share/cmake-${PKG_VERSION%.*}/Modules/Platform/Midipix.cmake" \ - || ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - || ! cmake -DBZIP2_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DBZIP2_LIBRARIES="${PKG_PREFIX}/lib/libbz2.a" \ - -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_TARGET}-g++" \ - -DCMAKE_INSTALL_PREFIX= \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DCMAKE_SYSTEM_NAME=Midipix \ - -DCMAKE_USE_SYSTEM_BZIP2=ON \ - -DCMAKE_USE_SYSTEM_CURL=ON \ - -DCMAKE_USE_SYSTEM_EXPAT=OFF \ - -DCMAKE_USE_SYSTEM_LIBARCHIVE=ON \ - -DCMAKE_USE_SYSTEM_LIBUV=ON \ - -DCMAKE_USE_SYSTEM_ZLIB=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCURL_INCLUDE_DIR="${PKG_PREFIX}/include/curl" \ - -DCURL_LIBRARY="${PKG_PREFIX}/lib/libcurl.lib.a" \ - -DCURSES_NCURSES_LIBRARY="${PKG_PREFIX}/lib/libncurses.lib.a" \ - -DKWSYS_LFS_WORKS=YES \ - -DLibArchive_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DLibArchive_LIBRARY="${PKG_PREFIX}/lib/libarchive.lib.a" \ - -DLIBLZMA_HAS_AUTO_DECODER=YES \ - -DLIBLZMA_HAS_EASY_ENCODER=YES \ - -DLIBLZMA_HAS_LZMA_PRESET=YES \ - -DLIBLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DLIBLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \ - -DLibUV_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DLibUV_LIBRARY="${PKG_PREFIX}/lib/libuv.1.0.0.lib.a" \ - -DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DZLIB_LIBRARY="${PKG_PREFIX}/lib/libz.a" \ - "../cmake-${PKG_VERSION}"; then - return 1; - fi; -}; - -pkg_cmake_install_make_pre() { - if [ ! -e cmake_install.cmake.orig ]; then - sed -i.orig '/^\s*set(CMAKE_INSTALL_PREFIX ".*")$/s/".*"/""/' \ - cmake_install.cmake; - fi; -}; - -pkg_cmake_host_configure() { - if ! rtl_fileop rm config.cache \ - || ! cmake -DCURSES_NCURSES_LIBRARY="${PKG_PREFIX}/lib/libncurses.so" "../cmake-${PKG_VERSION}"; then - return 1; - fi; -}; - -pkg_cmake_host_install_make_pre() { - pkg_cmake_install_make_pre; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/cmake_host.vars b/vars/cmake_host.vars deleted file mode 120000 index e380d15f..00000000 --- a/vars/cmake_host.vars +++ /dev/null @@ -1 +0,0 @@ -cmake.vars
\ No newline at end of file diff --git a/vars/libjpeg_turbo.vars b/vars/libjpeg_turbo.vars deleted file mode 100644 index e89baf78..00000000 --- a/vars/libjpeg_turbo.vars +++ /dev/null @@ -1,24 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_libjpeg_turbo_configure() { - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_ASM_NASM_COMPILER="${PREFIX}/bin/${PKG_TARGET}-nasm" \ - -DCMAKE_ASM_NASM_OBJECT_FORMAT="win64" \ - -DCMAKE_BUILD_TYPE="Debug" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DWITH_JPEG8="ON" \ - -DWITH_SIMD="OFF" \ - "../libjpeg-turbo-${PKG_VERSION}"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/libsolv.vars b/vars/libsolv.vars deleted file mode 100644 index da68e758..00000000 --- a/vars/libsolv.vars +++ /dev/null @@ -1,41 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_libsolv_configure() { - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DBZIP2_LIBRARIES="${PKG_PREFIX}/lib/libbz2.lib.a" \ - -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_TARGET}-g++" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_FIND_ROOT_PATH="${PKG_PREFIX}" \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DENABLE_APPDATA:BOOL="ON" \ - -DENABLE_BZIP2_COMPRESSION:BOOL="ON" \ - -DENABLE_COMPLEX_DEPS:BOOL="ON" \ - -DENABLE_COMPS:BOOL="ON" \ - -DENABLE_LZMA_COMPRESSION:BOOL="ON" \ - -DENABLE_RPMDB:BOOL="ON" \ - -DENABLE_RPMDB_BYRPMHEADER:BOOL="ON" \ - -DENABLE_RPMDB_LIBRPM:BOOL="ON" \ - -DENABLE_RPMMD:BOOL="ON" \ - -DENABLE_RPMPKG_LIBRPM:BOOL="ON" \ - -DFEDORA="1" \ - -DLIBXML2_LIBRARIES="${PKG_PREFIX}/lib/libxml2.lib.a" \ - -DLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \ - -DRPMIO_LIBRARY="${PKG_PREFIX}/lib/librpmio.so" \ - -DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DZLIB_LIBRARY="${PKG_PREFIX}/lib/libz.a" \ - -DWITH_LIBXML2:BOOL="ON" \ - "../libsolv-${PKG_VERSION}"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/libssh.vars b/vars/libssh.vars deleted file mode 100644 index 58837728..00000000 --- a/vars/libssh.vars +++ /dev/null @@ -1,27 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_libssh_configure() { - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_FIND_ROOT_PATH="${PKG_PREFIX}" \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DZLIB_LIBRARY="${PKG_PREFIX}/lib/libz.lib.a" \ - -DWITH_SYMBOL_VERSIONING=OFF \ - -DWITH_GCRYPT=ON \ - -DWITH_EXAMPLES=OFF \ - -DPKG_CONFIG_EXECUTABLE=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config \ - "../libssh-${PKG_VERSION}"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/libzip.vars b/vars/libzip.vars deleted file mode 100644 index 5f6b4fef..00000000 --- a/vars/libzip.vars +++ /dev/null @@ -1,63 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_libzip_configure() { - local _build_type=""; - case "${BUILD_KIND}" in - debug) _build_type="Debug"; ;; - release) _build_type="Release"; ;; - *) exit 1; ;; - esac; - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" LDFLAGS="-lbz2" PREFIX="" \ - cmake -DBZIP2_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DBZIP2_LIBRARIES="${PKG_PREFIX}/lib/libbz2.lib.a" \ - -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_BUILD_TYPE="${_build_type}" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_C_STANDARD_LIBRARIES="-lbz2 -lfts" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ - -DCMAKE_INSTALL_PREFIX= \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DCMAKE_SYSTEM_NAME="Midipix" \ - -DENABLE_GNUTLS=:BOOL=ON \ - -DENABLE_MBEDTLS=:BOOL=OFF \ - -DGNUTLS_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DGNUTLS_LIBRARY="${PKG_PREFIX}/lib/libgnutls.lib.a" \ - -DLIBLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DLIBLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \ - -DNETTLE_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DNETTLE_LIBRARY="${PKG_PREFIX}/lib/libnettle.lib.a" \ - -DOPENSSL_CRYPTO_LIBRARY="${PKG_PREFIX}/lib/libcrypto.lib.a" \ - -DOPENSSL_SSL_LIBRARY="${PKG_PREFIX}/lib/libssl.lib.a" \ - -DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DZLIB_LIBRARY="${PKG_PREFIX}/lib/libz.a" \ - "../libzip-${PKG_VERSION}"; then - return 1; - fi; -}; - -pkg_libzip_host_configure() { - local _build_type=""; - case "${BUILD_KIND}" in - debug) _build_type="Debug"; ;; - release) _build_type="Release"; ;; - *) exit 1; ;; - esac; - if ! rtl_fileop rm config.cache \ - || ! env LDFLAGS="-L${PKG_PREFIX}/lib -lbz2 -lfts -lssl" PREFIX="" \ - cmake -DCMAKE_BUILD_TYPE="${_build_type}" \ - -DCMAKE_C_STANDARD_LIBRARIES="-lbz2 -lcrypto -lfts" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ - -DCMAKE_INSTALL_PREFIX= \ - -DENABLE_GNUTLS=:BOOL=OFF \ - -DENABLE_MBEDTLS=:BOOL=OFF \ - "../libzip-${PKG_VERSION}"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/libzip_host.vars b/vars/libzip_host.vars deleted file mode 120000 index 8582365b..00000000 --- a/vars/libzip_host.vars +++ /dev/null @@ -1 +0,0 @@ -libzip.vars
\ No newline at end of file diff --git a/vars/llvm_host.vars b/vars/llvm_host.vars deleted file mode 100644 index 82903743..00000000 --- a/vars/llvm_host.vars +++ /dev/null @@ -1,28 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_llvm_host_configure() { - if ! rtl_fileop rm "../llvm-${PKG_VERSION}-host" \ - || ! rtl_fileop mkdir "../llvm-${PKG_VERSION}-host" \ - || ! rtl_fileop cd "../llvm-${PKG_VERSION}-host" \ - || ! rtl_log_msg verbose "Bootstrapping llvm_host..." \ - || ! ("${PREFIX}/bin/cmake" \ - "../llvm-${PKG_VERSION}.src" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_VERBOSE_MAKEFILE=NO \ - -DLLVM_BUILD_DOCS=NO \ - -DLLVM_BUILD_EXAMPLES=NO \ - -DLLVM_BUILD_TESTS=NO \ - -DLLVM_ENABLE_SPHINX=NO \ - -DLLVM_TARGETS_TO_BUILD=X86 \ - -DSPHINX_WARNINGS_AS_ERRORS=NO \ - -G "Unix Makefiles" \ - -Wno-dev) \ - || ! rtl_log_msg verbose "Finished bootstrapping llvm_host."; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/lolcode.vars b/vars/lolcode.vars deleted file mode 100644 index f610063c..00000000 --- a/vars/lolcode.vars +++ /dev/null @@ -1,19 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_lolcode_configure() { - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_TARGET}-g++" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_INSTALL_PREFIX="" \ - "../lci"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/minizip.vars b/vars/minizip.vars deleted file mode 100644 index c6ac3f0f..00000000 --- a/vars/minizip.vars +++ /dev/null @@ -1,31 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_minizip_configure() { - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_BUILD_TYPE="Debug" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_CXX}" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DPKG_CONFIG_EXECUTABLE="${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config" \ - -DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DZLIB_LIBRARY_DEBUG="${PKG_PREFIX}/lib/libz.lib.a" \ - -DBZIP2_LIBRARIES="${PKG_PREFIX}/lib/libbz2.lib.a" \ - -DMZ_OPENSSL=ON \ - -DMZ_ZSTD=OFF \ - -DMZ_LZMA=ON \ - -DMZ_LIBBSD=OFF \ - -DBUILD_SHARED_LIBS=ON \ - -DMZ_BUILD_TEST=ON \ - "../${PKG_SUBDIR}"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/openjpeg.vars b/vars/openjpeg.vars deleted file mode 100644 index cfca5e25..00000000 --- a/vars/openjpeg.vars +++ /dev/null @@ -1,33 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_openjpeg_configure() { - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_TARGET}-g++" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_FIND_ROOT_PATH="${PKG_PREFIX}" \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DLCMS2_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DLCMS2_LIBRARY="${PKG_PREFIX}/lib/liblcms2.lib.a" \ - -DPNG_LIBRARY_DEBUG="${PKG_PREFIX}/lib/libpng.lib.a" \ - -DPNG_LIBRARY_RELEASE="${PKG_PREFIX}/lib/libpng.lib.a" \ - -DPNG_PNG_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DTIFF_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DTIFF_LIBRARY_DEBUG="${PKG_PREFIX}/lib/libtiff.lib.a" \ - -DTIFF_LIBRARY_RELEASE="${PKG_PREFIX}/lib/libtiff.lib.a" \ - -DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DZLIB_LIBRARY_DEBUG="${PKG_PREFIX}/lib/libz.a" \ - -DZLIB_LIBRARY_RELEASE="${PKG_PREFIX}/lib/libz.a" \ - "../openjpeg-${PKG_VERSION}"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/tdnf.vars b/vars/tdnf.vars deleted file mode 100644 index c95150c4..00000000 --- a/vars/tdnf.vars +++ /dev/null @@ -1,31 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_tdnf_configure() { - local _rc=0; - rtl_export_vars \ - PKG_CONFIG "${PKG_PKG_CONFIG:-}" \ - PKG_CONFIG_LIBDIR "${PKG_PKG_CONFIG_LIBDIR:-}"; - if ! rtl_fileop rm config.cache \ - || ! env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_TARGET}-g++" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_FIND_ROOT_PATH="${PKG_PREFIX}" \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DOPENSSL_LIBRARY="${PKG_PREFIX}/lib/libcrypto.so" \ - "../tdnf-${PKG_VERSION}"; then - _rc=1; - fi; - rtl_export_vars -u \ - PKG_CONFIG "${PKG_PKG_CONFIG:-}" \ - PKG_CONFIG_LIBDIR "${PKG_PKG_CONFIG_LIBDIR:-}"; - return "${_rc}"; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/xpdf.vars b/vars/xpdf.vars deleted file mode 100644 index 209aab95..00000000 --- a/vars/xpdf.vars +++ /dev/null @@ -1,25 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_xpdf_configure() { - if ! rtl_fileop rm config.cache \ - || ! env CXX_FLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" PREFIX="" \ - cmake -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ - -DCMAKE_BUILD_TYPE="Debug" \ - -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ - -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_CXX}" \ - -DCMAKE_SYSROOT=${PREFIX_NATIVE} \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="ONLY" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="NEVER" \ - -DCMAKE_INSTALL_PREFIX="" \ - -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ - -DFREETYPE_LIBRARY=${PREFIX_NATIVE}/lib/libfreetype.lib.a \ - -DFREETYPE_INCLUDE_DIR_ft2build={PREFIX_NATIVE}/include/ft2build \ - -DFONTCONFIG_LIBRARY=${PREFIX_NATIVE}/lib/libfontconfig.lib.a \ - "../xpdf-${PKG_VERSION}"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 |