mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
cleanup packages: use cfg-libs option
This commit is contained in:
parent
6e4c58df89
commit
bc6eb1da3c
@ -10,12 +10,11 @@ PKG_URL="https://github.com/cjd/mtpfs/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain fuse glib libmtp"
|
||||
PKG_LONGDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-mad"
|
||||
|
||||
# TODO: mtpfs runs host utils while building, fix and set
|
||||
pre_configure_target() {
|
||||
export LIBS="-lusb-1.0 -ludev"
|
||||
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
}
|
||||
|
@ -9,14 +9,10 @@ PKG_SITE="https://www.gnu.org/software/screen/"
|
||||
PKG_URL="https://ftpmirror.gnu.org/screen/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="Screen is a window manager that multiplexes a physical terminal between several processes"
|
||||
PKG_BUILD_FLAGS="-sysroot -parallel"
|
||||
PKG_BUILD_FLAGS="-sysroot -parallel -cfg-libs"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
|
||||
--disable-pam \
|
||||
--disable-telnet \
|
||||
--disable-socket-dir"
|
||||
|
||||
pre_configure_target() {
|
||||
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ PKG_DEPENDS_TARGET="toolchain libdvbcsa libxml2 openssl"
|
||||
PKG_SECTION="service"
|
||||
PKG_SHORTDESC="minisatip: a Sat>IP streaming server for Linux"
|
||||
PKG_LONGDESC="minisatip(${PKG_VERSION_NUMBER}): is a Sat>IP streaming server for Linux supporting DVB-C, DVB-S/S2, DVB-T/T2, ATSC and ISDB-T"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Minisatip"
|
||||
@ -26,7 +26,6 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--with-xml2=$(get_install_dir libxml2)/usr/include/libxml2"
|
||||
|
||||
pre_configure_target() {
|
||||
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
cd ${PKG_BUILD}
|
||||
rm -rf .${TARGET_NAME}
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ PKG_DEPENDS_HOST="autoconf:host automake:host m4:host make:host zlib:host"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib elfutils:host"
|
||||
PKG_LONGDESC="A collection of utilities to handle ELF objects."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
PKG_BUILD_FLAGS="+pic -cfg-libs -cfg-libs:host"
|
||||
|
||||
if [ "${LIBREELEC_VERSION}" = "devel" ]; then
|
||||
PKG_PROGRAMS="--enable-programs --program-prefix="
|
||||
@ -40,14 +40,6 @@ PKG_CONFIGURE_OPTS_TARGET="utrace_cv_cc_biarch=false \
|
||||
--without-bzlib \
|
||||
--without-lzma"
|
||||
|
||||
pre_configure_host() {
|
||||
HOST_CONFIGURE_OPTS=$(echo ${HOST_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
# don't install progs into sysroot
|
||||
rm -fr ${SYSROOT_PREFIX}/usr/bin
|
||||
|
@ -11,7 +11,4 @@ PKG_SITE="https://www.nasm.us/"
|
||||
PKG_URL="https://www.nasm.us/pub/nasm/releasebuilds/${PKG_VERSION}/nasm-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_LONGDESC="The Netwide Assembler, NASM, is an 80x86 and x86-64 assembler designed for portability and modularity."
|
||||
|
||||
pre_configure_host() {
|
||||
HOST_CONFIGURE_OPTS=$(echo ${HOST_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
}
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
@ -10,7 +10,7 @@ PKG_URL="https://download.samba.org/pub/rsync/src/${PKG_NAME}-${PKG_VERSION}.tar
|
||||
PKG_DEPENDS_HOST="autotools:host zlib:host"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib openssl"
|
||||
PKG_LONGDESC="A very fast method for bringing remote files into sync."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs -cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-md2man \
|
||||
--disable-ipv6 \
|
||||
@ -34,14 +34,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-acl-support \
|
||||
--with-included-popt \
|
||||
--without-included-zlib"
|
||||
|
||||
pre_configure_host() {
|
||||
HOST_CONFIGURE_OPTS=$(echo ${HOST_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
|
||||
}
|
||||
|
||||
pre_make_host() {
|
||||
# do not detect LE git version
|
||||
echo "#define RSYNC_GITVER \"${PKG_VERSION}\"" >git-version.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user