cleanup addon packages: use cfg-libs option

This commit is contained in:
Rudi Heitbaum 2024-09-15 14:45:48 +00:00
parent bc6eb1da3c
commit d161095bce
27 changed files with 27 additions and 22 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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 \

View File

@ -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 \

View File

@ -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}

View File

@ -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 \

View File

@ -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() {

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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 \

View File

@ -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 \

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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 \

View File

@ -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 \

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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