mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
@@ -1,6 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
PKG_NAME="xz"
|
||||
PKG_VERSION="5.8.1"
|
||||
@@ -8,19 +9,27 @@ PKG_SHA256="0b54f79df85912504de0b14aec7971e3f964491af1812d83447005807513cd9e"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://tukaani.org/xz/"
|
||||
PKG_URL="https://github.com/tukaani-project/xz/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="autotools:host gcc:host"
|
||||
PKG_DEPENDS_TARGET="autotools:host gcc:host"
|
||||
PKG_URL="https://src.fedoraproject.org/repo/pkgs/xz/${PKG_NAME}-${PKG_VERSION}.tar.xz/sha512/${PKG_SHA512}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A free general-purpose data compression software with high compression ratio."
|
||||
PKG_BUILD_FLAGS="+pic -sysroot"
|
||||
PKG_BUILD_FLAGS="+pic +pic:host"
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
--disable-doc \
|
||||
--disable-lzmadec \
|
||||
--disable-lzmainfo \
|
||||
--disable-lzma-links \
|
||||
--disable-scripts \
|
||||
--disable-xz \
|
||||
--disable-xzdec \
|
||||
--enable-symbol-versions=no"
|
||||
# never build shared or k0p happens when building
|
||||
# on fedora due to host selinux/liblzma
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-shared --enable-static \
|
||||
--disable-lzmadec \
|
||||
--disable-lzmainfo \
|
||||
--enable-lzma-links \
|
||||
--disable-nls \
|
||||
--disable-scripts \
|
||||
--enable-symbol-versions=no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
|
||||
--disable-static \
|
||||
--enable-symbol-versions=yes"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr/bin
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2017 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libaio"
|
||||
PKG_VERSION="0.3.113"
|
||||
PKG_SHA256="716c7059703247344eb066b54ecbc3ca2134f0103307192e6c2b7dab5f9528ab"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://pagure.io/libaio"
|
||||
PKG_URL="https://pagure.io/${PKG_NAME}/archive/${PKG_NAME}-${PKG_VERSION}/${PKG_NAME}-${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Kernel Asynchronous I/O (AIO) Support for Linux."
|
||||
PKG_BUILD_FLAGS="-lto"
|
||||
|
||||
make_target() {
|
||||
make -C src
|
||||
}
|
||||
Reference in New Issue
Block a user