mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Merge pull request #9301 from heitbaum/cfglib
add cfg-libs option to PKG_BUILD_FLAGS to fix configure unrecognized options
This commit is contained in:
commit
86f88a28d0
@ -11,7 +11,7 @@ PKG_DEPENDS_TARGET="toolchain argtable2 ffmpegx"
|
||||
PKG_DEPENDS_CONFIG="argtable2 ffmpegx"
|
||||
PKG_LONGDESC="Comskip detects commercial breaks from a video stream. It can be used for post-processing recordings."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
pre_configure_target() {
|
||||
# pass ffmpegx to build
|
||||
|
@ -13,8 +13,8 @@ PKG_DEPENDS_TARGET="toolchain cxxtools:host openssl"
|
||||
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-demos --with-atomictype=pthread --disable-unittest"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-demos --with-atomictype=pthread --disable-unittest"
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-demos --disable-unittest"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-demos --disable-unittest"
|
||||
|
||||
post_makeinstall_host() {
|
||||
rm -rf ${TOOLCHAIN}/bin/cxxtools-config
|
||||
|
@ -10,4 +10,4 @@ PKG_URL="https://github.com/Duckbox-Developers/dvbsnoop/archive/${PKG_VERSION}.t
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
@ -10,4 +10,4 @@ PKG_URL="https://github.com/braice/MuMuDVB/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libdvbcsa"
|
||||
PKG_LONGDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
@ -9,4 +9,4 @@ PKG_SITE="https://github.com/mighty-p/t2scan"
|
||||
PKG_URL="https://github.com/mighty-p/t2scan/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A small channel scan tool which generates DVB-T/T2 channels.conf files."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
@ -10,4 +10,4 @@ PKG_URL="https://www.gen2vdr.de/wirbel/w_scan/w_scan-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A channel scan tool which generates ATSC, DVB-C, DVB-S/S2 and DVB-T channels.conf files."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="http://serdisplib.sourceforge.net/"
|
||||
PKG_URL="${SOURCEFORGE_SRC}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libusb-compat"
|
||||
PKG_LONGDESC="Library to drive serial/parallel/usb displays with built-in controllers."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--prefix=${SYSROOT_PREFIX}/usr \
|
||||
--bindir=${SYSROOT_PREFIX}/usr/bin \
|
||||
|
@ -10,7 +10,7 @@ PKG_URL="https://github.com/vgropp/bwm-ng/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses libstatgrab"
|
||||
PKG_LONGDESC="A small and simple console-based live network and disk io bandwidth monitor."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-libstatgrab \
|
||||
--with-time \
|
||||
|
@ -11,16 +11,15 @@ PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A portable framework for low-level network monitoring."
|
||||
# use configure, not cmake. review cmake in future release.
|
||||
PKG_TOOLCHAIN="configure"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \
|
||||
ac_cv_header_libusb_1_0_libusb_h=no \
|
||||
--disable-shared \
|
||||
--with-pcap=linux \
|
||||
--disable-bluetooth \
|
||||
--disable-can \
|
||||
--without-libnl \
|
||||
--disable-dbus \
|
||||
--disable-canusb"
|
||||
--disable-dbus"
|
||||
|
||||
pre_configure_target() {
|
||||
# When cross-compiling, configure can't set linux version
|
||||
|
@ -10,7 +10,7 @@ PKG_URL="https://code.blinkace.com/pdw/iftop/-/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses libpcap libnl"
|
||||
PKG_LONGDESC="A tool to display bandwidth usage on an interface."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
pre_build_target() {
|
||||
mkdir -p ${PKG_BUILD}/.${TARGET_NAME}
|
||||
|
@ -10,7 +10,7 @@ PKG_URL="https://github.com/jpr5/ngrep/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libpcap pcre2"
|
||||
PKG_LONGDESC="A tool like GNU grep applied to the network layer."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot -parallel"
|
||||
PKG_BUILD_FLAGS="-sysroot -parallel -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-pcap-includes=${SYSROOT_PREFIX}/usr/include \
|
||||
--enable-ipv6 \
|
||||
|
@ -9,7 +9,7 @@ PKG_SITE="https://github.com/hasse69/rar2fs"
|
||||
PKG_URL="https://github.com/hasse69/rar2fs/archive/refs/tags/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain fuse unrar"
|
||||
PKG_LONGDESC="FUSE file system for reading RAR archives"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
pre_configure_target() {
|
||||
|
@ -8,7 +8,7 @@ PKG_SITE="https://www.tcpdump.org/"
|
||||
PKG_URL="https://www.tcpdump.org/release/tcpdump-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libpcap libtirpc"
|
||||
PKG_LONGDESC="A program that allows you to dump the traffic on a network."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
# use configure, not cmake. review cmake in future release.
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
|
@ -11,7 +11,7 @@ PKG_SOURCE_DIR="asio-asio-${PKG_VERSION//./-}"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Asio C++ Library."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--without-boost --without-openssl"
|
||||
|
||||
|
@ -10,6 +10,6 @@ PKG_URL="https://github.com/mikebrady/nqptp/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Not Quite PTP"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-systemd-startup"
|
||||
|
@ -10,7 +10,7 @@ PKG_URL="https://github.com/mikebrady/shairport-sync/archive/${PKG_VERSION}.tar.
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib avahi ffmpeg libconfig libdaemon libgcrypt libplist libsndfile libsodium nqptp openssl popt pulseaudio soxr util-linux xxd:host"
|
||||
PKG_LONGDESC="AirPlay audio player."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-alsa \
|
||||
--with-avahi \
|
||||
|
@ -10,7 +10,7 @@ PKG_URL="http://www.harding.motd.ca/autossh/autossh-${PKG_VERSION}.tgz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Automatically restart SSH sessions and tunnels."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes"
|
||||
|
@ -10,7 +10,7 @@ PKG_URL="http://ftpmirror.gnu.org/diffutils/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A package of several programs related to finding differences between files."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--without-libsigsegv-prefix \
|
||||
|
@ -9,7 +9,7 @@ PKG_SITE="http://dtach.sourceforge.net"
|
||||
PKG_URL="https://github.com/crigler/dtach/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A program that emulates the detach feature of screen."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
|
@ -10,4 +10,4 @@ PKG_URL="https://repo.or.cz/evtest.git/snapshot/evtest-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libxml2"
|
||||
PKG_LONGDESC="A simple tool for input event debugging."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
@ -9,7 +9,7 @@ PKG_SITE="https://github.com/adrianlopezroche/fdupes"
|
||||
PKG_URL="https://github.com/adrianlopezroche/fdupes/releases/download/v${PKG_VERSION}/fdupes-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses sqlite"
|
||||
PKG_LONGDESC="A program for identifying or deleting duplicate files residing within specified directories."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--without-ncurses"
|
||||
PKG_MAKE_OPTS_TARGET="PREFIX=/usr"
|
||||
|
@ -9,7 +9,7 @@ PKG_SITE="https://savannah.nongnu.org/projects/hddtemp"
|
||||
PKG_URL="https://github.com/vitlav/hddtemp/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A utility that gives you the temperature of your hard drive by reading S.M.A.R.T.."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db"
|
||||
|
@ -10,9 +10,10 @@ PKG_URL="https://github.com/htop-dev/htop/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="An interactive process viewer for Unix."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-unicode \
|
||||
--disable-static \
|
||||
HTOP_NCURSES_CONFIG_SCRIPT=ncurses-config"
|
||||
|
||||
pre_configure_target() {
|
||||
|
@ -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,6 +9,6 @@ PKG_SITE="http://savannah.gnu.org/projects/patch/"
|
||||
PKG_URL="http://ftpmirror.gnu.org/patch/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Patch takes a patch file containing a difference listing produced by the diff."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-xattr"
|
||||
|
@ -9,6 +9,4 @@ PKG_SITE="http://www.ivarch.com/programs/pv.shtml"
|
||||
PKG_URL="http://www.ivarch.com/programs/sources/pv-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Pipe Viewer can be inserted into any normal pipeline between two processes."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static-nls"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
@ -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||")
|
||||
}
|
||||
|
@ -9,4 +9,4 @@ PKG_SITE="https://sg.danny.cz/sg/sdparm.html"
|
||||
PKG_URL="https://sg.danny.cz/sg/p/sdparm-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="The sdparm utility accesses SCSI device parameters."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
@ -9,7 +9,7 @@ PKG_SITE="https://www.smartmontools.org"
|
||||
PKG_URL="https://downloads.sourceforge.net/sourceforge/smartmontools/smartmontools-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Control and monitor storage systems using S.M.A.R.T."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
|
||||
--without-initscriptdir \
|
||||
|
@ -9,7 +9,7 @@ PKG_SITE="http://www.vim.org/"
|
||||
PKG_URL="https://github.com/vim/vim/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="Vim is a highly configurable text editor built to enable efficient text editing."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
|
@ -13,21 +13,15 @@ PKG_DEPENDS_TARGET="toolchain tntnet:host libtool cxxtools zlib"
|
||||
PKG_LONGDESC="A web application server for C++."
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-unittest \
|
||||
--with-server=no \
|
||||
--with-sdk=yes \
|
||||
--with-demos=no \
|
||||
--with-epoll=yes \
|
||||
--with-ssl=no \
|
||||
--with-stressjob=no"
|
||||
--disable-server \
|
||||
--enable-sdk \
|
||||
--disable-demos"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-unittest \
|
||||
--with-sysroot=${SYSROOT_PREFIX} \
|
||||
--with-server=no \
|
||||
--with-sdk=no \
|
||||
--with-demos=no \
|
||||
--with-epoll=yes \
|
||||
--with-ssl=no \
|
||||
--with-stressjob=no"
|
||||
--disable-server \
|
||||
--disable-sdk \
|
||||
--disable-demos"
|
||||
|
||||
post_configure_target() {
|
||||
libtool_remove_rpath libtool
|
||||
|
@ -15,7 +15,7 @@ PKG_SECTION="service"
|
||||
PKG_SHORTDESC="LCDproc: Software to display system information from your Linux/*BSD box on a LCD"
|
||||
PKG_LONGDESC="LCDproc (${PKG_VERSION}) is a piece of software that displays real-time system information from your Linux/*BSD box on a LCD. The server supports several serial devices: Matrix Orbital, Crystal Fontz, Bayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI, Cwlinux(.com) and PIC-an-LCD; and some devices connected to the LPT port: HD44780, STV5730, T6963, SED1520 and SED1330. Various clients are available that display things like CPU load, system load, memory usage, uptime, and a lot more."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
PKG_BUILD_FLAGS="-parallel -cfg-libs"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="LCDproc"
|
||||
|
@ -14,6 +14,7 @@ PKG_SECTION="service"
|
||||
PKG_SHORTDESC="MiniDLNA (ReadyMedia): a fully compliant DLNA/UPnP-AV server"
|
||||
PKG_LONGDESC="MiniDLNA (${PKG_VERSION_DATE}) (ReadyMedia) is a media server, with the aim of being fully compliant with DLNA/UPnP-AV clients."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="MiniDLNA (ReadyMedia)"
|
||||
|
@ -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,27 +12,19 @@ PKG_DEPENDS_TARGET="toolchain libogg"
|
||||
PKG_LONGDESC="An Free Lossless Audio Codec."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
# flac-1.3.1 dont build with LTO support
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
PKG_BUILD_FLAGS="+pic -cfg-libs"
|
||||
|
||||
# package specific configure options
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
--disable-rpath \
|
||||
--disable-altivec \
|
||||
--disable-doxygen-docs \
|
||||
--disable-thorough-tests \
|
||||
--disable-cpplibs \
|
||||
--disable-xmms-plugin \
|
||||
--disable-oggtest \
|
||||
--with-ogg=${SYSROOT_PREFIX}/usr \
|
||||
--with-gnu-ld"
|
||||
|
||||
if target_has_feature sse; then
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --enable-sse"
|
||||
else
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --disable-sse"
|
||||
fi
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr/bin
|
||||
}
|
||||
|
@ -20,7 +20,6 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--without-pulseaudio \
|
||||
--without-portaudio \
|
||||
--without-portaudiocpp \
|
||||
--without-sdl \
|
||||
--without-sdl2 \
|
||||
--without-sndfile \
|
||||
--without-flac"
|
||||
|
@ -10,6 +10,7 @@ PKG_URL="https://strace.io/files/${PKG_VERSION}/strace-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="strace is a diagnostic, debugging and instructional userspace utility"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
if [ "${TARGET_ARCH}" = x86_64 -o "${TARGET_ARCH}" = "aarch64" ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-mpers=no"
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="https://www.gnu.org/software/autoconf-archive/"
|
||||
PKG_URL="http://ftpmirror.gnu.org/autoconf-archive/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_LONGDESC="autoconf-archive is an package of m4 macros"
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} --prefix=${TOOLCHAIN}"
|
||||
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="https://www.gnu.org/software/autoconf/"
|
||||
PKG_URL="https://ftpmirror.gnu.org/autoconf/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="ccache:host m4:host gettext:host"
|
||||
PKG_LONGDESC="A GNU tool for automatically configuring source code."
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="EMACS=no \
|
||||
ac_cv_path_M4=${TOOLCHAIN}/bin/m4 \
|
||||
|
@ -9,7 +9,7 @@ PKG_SITE="http://sources.redhat.com/automake/"
|
||||
PKG_URL="http://ftpmirror.gnu.org/automake/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="ccache:host autoconf:host"
|
||||
PKG_LONGDESC="A GNU tool for automatically creating Makefiles."
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
PKG_BUILD_FLAGS="-parallel -cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} --disable-silent-rules"
|
||||
|
||||
|
@ -10,7 +10,7 @@ PKG_SITE="http://www.gnu.org/software/bison/"
|
||||
PKG_URL="http://ftpmirror.gnu.org/bison/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="ccache:host m4:host"
|
||||
PKG_LONGDESC="A general-purpose parser generator."
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
PKG_BUILD_FLAGS="-parallel -cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-rpath --with-gnu-ld"
|
||||
|
||||
|
@ -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
|
||||
|
@ -9,6 +9,7 @@ PKG_SITE="http://www.gnome.org"
|
||||
PKG_URL="http://launchpad.net/intltool/trunk/${PKG_VERSION}/+download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_LONGDESC="Tools to translate strings from various source files (.xml.in, .glade, .desktop.in, .server.in, .oaf.in)."
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
||||
post_makeinstall_host() {
|
||||
mkdir -p ${SYSROOT_PREFIX}/usr/share/aclocal
|
||||
|
@ -10,5 +10,6 @@ PKG_URL="https://github.com/stevegrubb/libcap-ng/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Libcap-ng is a library for Linux that makes using posix capabilities easy."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --with-python=no --with-python3=no"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --with-python3=no"
|
||||
|
@ -9,6 +9,7 @@ PKG_SITE="http://fstrcmp.sourceforge.net/"
|
||||
PKG_URL="https://downloads.sourceforge.net/project/fstrcmp/fstrcmp/$(get_pkg_version_maj_min)/fstrcmp-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="The fstrcmp project provides a library that is used to make fuzzy comparisons of strings and byte arrays, including multi-byte character strings."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
pre_configure_target() {
|
||||
cd "${PKG_BUILD}"
|
||||
|
@ -9,3 +9,4 @@ PKG_SITE="http://xcb.freedesktop.org/"
|
||||
PKG_URL="http://xcb.freedesktop.org/dist/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A library providing weak aliases for pthread functions."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
@ -9,6 +9,7 @@ PKG_SITE="http://www.gnu.org/software/m4/"
|
||||
PKG_URL="http://ftpmirror.gnu.org/m4/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_LONGDESC="The m4 macro processor."
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="gl_cv_func_gettimeofday_clobber=no --target=${TARGET_NAME}"
|
||||
|
||||
|
@ -10,7 +10,7 @@ PKG_SITE="https://www.gnu.org/software/make/"
|
||||
PKG_URL="http://ftpmirror.gnu.org/make/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST=""
|
||||
PKG_LONGDESC="Utility to maintain groups of programs."
|
||||
PKG_BUILD_FLAGS="+local-cc"
|
||||
PKG_BUILD_FLAGS="+local-cc -cfg-libs:host"
|
||||
|
||||
post_makeinstall_host() {
|
||||
ln -sf make ${TOOLCHAIN}/bin/gmake
|
||||
|
@ -10,3 +10,4 @@ PKG_URL="https://github.com/NixOS/patchelf/releases/download/${PKG_VERSION}/patc
|
||||
PKG_DEPENDS_HOST="autotools:host"
|
||||
PKG_LONGDESC="A small utility to modify the dynamic linker and RPATH of ELF executables"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
@ -10,7 +10,7 @@ PKG_SITE="http://www.jedsoft.org/slang/"
|
||||
PKG_URL="https://www.jedsoft.org/releases/slang/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A library designed to allow a developer to create robust multi-platform software."
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
PKG_BUILD_FLAGS="-parallel -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--without-pcre \
|
||||
--without-onig"
|
||||
|
@ -11,6 +11,7 @@ PKG_URL="https://www.python.org/ftp/python/${PKG_VERSION}/${PKG_NAME::-1}-${PKG_
|
||||
PKG_DEPENDS_HOST="zlib:host bzip2:host libffi:host util-linux:host autoconf-archive:host"
|
||||
PKG_DEPENDS_TARGET="autotools:host gcc:host Python3:host sqlite expat zlib bzip2 xz openssl libffi readline ncurses util-linux"
|
||||
PKG_LONGDESC="Python3 is an interpreted object-oriented programming language."
|
||||
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_PYTHON_VERSION="python3.12"
|
||||
@ -44,6 +45,7 @@ PKG_CONFIGURE_OPTS_HOST="ac_cv_prog_HAS_HG=/bin/false
|
||||
--with-doc-strings
|
||||
--without-pymalloc
|
||||
--with-ensurepip=no
|
||||
--enable-shared
|
||||
"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false
|
||||
@ -84,6 +86,7 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false
|
||||
--without-ensurepip
|
||||
--enable-ipv6
|
||||
--with-build-python=${TOOLCHAIN}/bin/python
|
||||
--enable-shared
|
||||
"
|
||||
|
||||
pre_configure_host() {
|
||||
|
@ -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"
|
||||
|
@ -9,6 +9,7 @@ PKG_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
|
||||
PKG_URL="https://download.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Linux CIFS userspace utilities"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
|
@ -10,3 +10,4 @@ PKG_SITE="https://www.kernel.org/pub/software/network/ethtool/"
|
||||
PKG_URL="https://www.kernel.org/pub/software/network/ethtool/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain libmnl"
|
||||
PKG_LONGDESC="Ethtool is used for querying settings of an ethernet device and changing them."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
@ -11,7 +11,7 @@ PKG_URL="https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/${PKG_NAME}-${PKG_
|
||||
PKG_DEPENDS_TARGET="toolchain openssl zlib"
|
||||
PKG_LONGDESC="An open re-implementation of the SSH package."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="+lto"
|
||||
PKG_BUILD_FLAGS="+lto -cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_rpc_types_h=no \
|
||||
--sysconfdir=/etc/ssh \
|
||||
|
@ -13,12 +13,10 @@ PKG_LONGDESC="A full featured SSL VPN software solution that integrates OpenVPN
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_have_decl_TUNSETPERSIST=no \
|
||||
--disable-server \
|
||||
--disable-plugins \
|
||||
--enable-iproute2 IPROUTE=/sbin/ip \
|
||||
--enable-management \
|
||||
--enable-fragment \
|
||||
--disable-multihome \
|
||||
--disable-port-share \
|
||||
--disable-debug"
|
||||
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="http://rpcbind.sourceforge.net/"
|
||||
PKG_URL="${SOURCEFORGE_SRC}/rpcbind/rpcbind/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libtirpc systemd"
|
||||
PKG_LONGDESC="The rpcbind utility is a server that converts RPC program numbers into universal addresses."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_rpcsvc_mount_h=no \
|
||||
--disable-warmstarts \
|
||||
|
@ -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
|
||||
|
@ -9,6 +9,7 @@ PKG_SITE="https://sourceforge.net/p/sshpass"
|
||||
PKG_URL="https://downloads.sourceforge.net/sshpass/sshpass-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="sshpass: a tool for non-interactive ssh password auth"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
pre_configure_target() {
|
||||
export ac_cv_func_malloc_0_nonnull=yes
|
||||
|
@ -32,11 +32,11 @@ To control the build behaviour of your package, use variables in the top-down or
|
||||
| PKG_SOURCE_NAME | - | no | Force the filename of the application sources. Used when the filename is not the basename of `PKG_URL` |
|
||||
| PKG_PATCH_DIRS | - | no | Patches in `./patches` are automatically applied after package unpack. Use this option to include patches from an additional folder, e.g. `./patches/$PKG_PATCH_DIRS` |
|
||||
| PKG_NEED_UNPACK | - | no | Space separated list of files or folders to include in package stamp calculation. If the stamp is invalidated through changes to package files or dependent files/folders the package is cleaned and rebuilt. e.g. `PKG_NEED_UNPACK="$(get_pkg_directory linux)"` will trigger clean/rebuild of a Linux kernel driver package when a change to the `linux` kernel package is detected. |
|
||||
| PKG_TOOLCHAIN | auto | no | Control which build toolchain is used. For detailed information, see [reference](#toolchain-options). |
|
||||
| PKG_BUILD_FLAGS | - | no | A space separated list of flags with which to fine-tune the build process. Flags can be enabled or disabled with a `+` or `-` prefix. For detailed information, see the [Reference](#build_flags-options). |
|
||||
| PKG_TOOLCHAIN | auto | no | Control which build toolchain is used. For detailed information, see [Reference](#toolchain-options). |
|
||||
| PKG_BUILD_FLAGS | - | no | A space separated list of flags with which to fine-tune the build process. Flags can be enabled or disabled with a `+` or `-` prefix. For detailed information, see [Reference](#build_flags-options). |
|
||||
| PKG_PYTHON_VERSION | python3.8 | no | Define the Python version to be used. |
|
||||
| PKG_IS_KERNEL_PKG | - | no | Set to `yes` for packages that include Linux kernel modules |
|
||||
| PKG_DEPENDS_CONFIG | - | no | Space separated list of packages to add to PKG_CONFIG_PATH. Use this to build with support for `-sysroot` packages (See [reference](BUILD_FLAGS options). |
|
||||
| PKG_DEPENDS_CONFIG | - | no | Space separated list of packages to add to PKG_CONFIG_PATH. Use this to build with support for `-sysroot` packages, see [Reference](#build_flags-options). |
|
||||
|
||||
#### Meson Options
|
||||
| Variable | Default | Required |Description |
|
||||
@ -133,6 +133,7 @@ Set the variable `PKG_BUILD_FLAGS` in the `package.mk` to enable/disable the sin
|
||||
| strip | enabled | target | strips executables (or not) |
|
||||
| sysroot | enabled | target | installs the package to the sysroot folder (or not) |
|
||||
| local-cc | disabled | host | use compiler from buildhost instead of host-gcc/g++ in toolchain |
|
||||
| cfg-libs | enabled | all | `-cfg-libs` will not append --disable-static --enable-shared to CONFIGURE_OPTS |
|
||||
|
||||
###### Example
|
||||
```
|
||||
|
@ -14,7 +14,6 @@ PKG_LONGDESC="A library which provides a secure layer over a reliable transport
|
||||
|
||||
PKG_CONFIGURE_OPTS_COMMON="--disable-doc \
|
||||
--disable-full-test-suite \
|
||||
--disable-guile \
|
||||
--disable-libdane \
|
||||
--disable-padlock \
|
||||
--disable-rpath \
|
||||
|
@ -11,7 +11,7 @@ PKG_DEPENDS_TARGET="autotools:host gcc:host nss:host nspr:host"
|
||||
PKG_DEPENDS_UNPACK="nss"
|
||||
PKG_LONGDESC="Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions"
|
||||
PKG_TOOLCHAIN="configure"
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
PKG_BUILD_FLAGS="-parallel -cfg-libs"
|
||||
|
||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||
TARGET_USE_64="--enable-64bit"
|
||||
|
@ -12,6 +12,7 @@ PKG_DEPENDS_HOST="autotools:host"
|
||||
PKG_DEPENDS_TARGET="autotools:host gcc:host"
|
||||
PKG_DEPENDS_INIT="autotools:host gcc:host"
|
||||
PKG_LONGDESC="dosfstools contains utilities for making and checking MS-DOS FAT filesystems."
|
||||
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host -cfg-libs:init"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-compat-symlinks"
|
||||
PKG_MAKE_OPTS_TARGET="PREFIX=/usr"
|
||||
|
@ -12,7 +12,7 @@ PKG_DEPENDS_HOST="autotools:host"
|
||||
PKG_DEPENDS_TARGET="autotools:host gcc:host"
|
||||
PKG_DEPENDS_INIT="autotools:host gcc:host"
|
||||
PKG_LONGDESC="The filesystem utilities for the EXT2 filesystem, including e2fsck, mke2fs, dumpe2fs, fsck, and others."
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
PKG_BUILD_FLAGS="-parallel -cfg-libs -cfg-libs:host -cfg-libs:init"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--prefix=${TOOLCHAIN}/ \
|
||||
--bindir=${TOOLCHAIN}/bin \
|
||||
|
@ -11,6 +11,7 @@ PKG_URL="https://github.com/LibreELEC/eventlircd/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain systemd lirc"
|
||||
PKG_LONGDESC="The eventlircd daemon provides four functions for LIRC devices"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-udev-dir=/usr/lib/udev \
|
||||
--with-lircd-socket=/run/lirc/lircd"
|
||||
|
@ -10,5 +10,6 @@ PKG_SITE="http://www.gnu.org/software/sed/"
|
||||
PKG_URL="https://mirrors.kernel.org/gnu/sed/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_LONGDESC="The sed (Stream EDitor) editor is a stream or batch (non-interactive) editor."
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-nls --disable-acl --without-selinux"
|
||||
|
@ -9,4 +9,5 @@ PKG_SITE="http://itstool.org"
|
||||
PKG_URL="http://files.itstool.org/itstool/itstool-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_HOST="toolchain libxml2:host"
|
||||
PKG_LONGDESC="ITS Tool allows you to translate your XML documents with PO files."
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
@ -10,6 +10,7 @@ PKG_URL="http://netcologne.dl.sourceforge.net/project/xmlstar/${PKG_NAME}/${PKG_
|
||||
PKG_DEPENDS_HOST="libxml2:host libxslt:host"
|
||||
PKG_DEPENDS_TARGET="toolchain libxml2 libxslt"
|
||||
PKG_LONGDESC="XMLStarlet is a command-line XML utility which allows the modification and validation of XML documents."
|
||||
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST=" ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
|
@ -13,6 +13,7 @@ PKG_DEPENDS_TARGET="toolchain flex freetype:host gettext:host grub:host"
|
||||
PKG_DEPENDS_UNPACK="gnulib"
|
||||
PKG_LONGDESC="GRUB is a Multiboot boot loader."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
|
||||
|
||||
pre_configure_host() {
|
||||
unset CFLAGS
|
||||
|
@ -11,3 +11,4 @@ PKG_URL="http://ftpmirror.gnu.org/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.bz2
|
||||
PKG_DEPENDS_HOST="autotools:host"
|
||||
PKG_LONGDESC="mtools: A collection of utilities to access MS-DOS disks"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-cfg-libs:host"
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="https://www.nano-editor.org/"
|
||||
PKG_URL="https://www.nano-editor.org/dist/v${PKG_VERSION%%.*}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="Nano is an enhanced clone of the Pico text editor."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-utf8 \
|
||||
--disable-nls \
|
||||
|
@ -10,6 +10,7 @@ PKG_URL="https://releases.pagure.org/newt/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain slang popt"
|
||||
PKG_LONGDESC="Newt is a programming library for color text mode, widget based user interfaces."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--without-python \
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="https://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros"
|
||||
PKG_LONGDESC="Abstract network code for X."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--without-xmlto"
|
||||
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="https://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/proto/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros Python3:host"
|
||||
PKG_LONGDESC="X C-language Bindings protocol headers."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
post_makeinstall_target() {
|
||||
python_remove_source
|
||||
|
@ -10,6 +10,7 @@ PKG_SITE="https://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/util/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="X.org autoconf utilities such as M4 macros."
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr
|
||||
|
@ -159,9 +159,10 @@ TARGET_CONFIGURE_OPTS="--host=${TARGET_NAME} \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
--localstatedir=/var"
|
||||
if flag_enabled "cfg-libs" "yes"; then
|
||||
TARGET_CONFIGURE_OPTS+=" --disable-static --enable-shared"
|
||||
fi
|
||||
|
||||
TARGET_CMAKE_OPTS="-DCMAKE_TOOLCHAIN_FILE=${CMAKE_CONF} \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
@ -187,9 +188,10 @@ HOST_CONFIGURE_OPTS="--host=${HOST_NAME} \
|
||||
--sbindir=${TOOLCHAIN}/sbin \
|
||||
--sysconfdir=${TOOLCHAIN}/etc \
|
||||
--libexecdir=${TOOLCHAIN}/lib \
|
||||
--localstatedir=${TOOLCHAIN}/var \
|
||||
--disable-static \
|
||||
--enable-shared"
|
||||
--localstatedir=${TOOLCHAIN}/var"
|
||||
if flag_enabled "cfg-libs:host" "yes"; then
|
||||
HOST_CONFIGURE_OPTS+=" --disable-static --enable-shared"
|
||||
fi
|
||||
|
||||
HOST_CMAKE_OPTS="${CMAKE_GENERATOR} \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_CONF} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user