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:
Matthias Reichl 2024-10-18 13:16:39 +02:00 committed by GitHub
commit 86f88a28d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
76 changed files with 94 additions and 106 deletions

View File

@ -11,7 +11,7 @@ PKG_DEPENDS_TARGET="toolchain argtable2 ffmpegx"
PKG_DEPENDS_CONFIG="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_LONGDESC="Comskip detects commercial breaks from a video stream. It can be used for post-processing recordings."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
pre_configure_target() { pre_configure_target() {
# pass ffmpegx to build # pass ffmpegx to build

View File

@ -13,8 +13,8 @@ PKG_DEPENDS_TARGET="toolchain cxxtools:host openssl"
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes." PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes."
PKG_BUILD_FLAGS="+pic" PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_HOST="--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 --with-atomictype=pthread --disable-unittest" PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-demos --disable-unittest"
post_makeinstall_host() { post_makeinstall_host() {
rm -rf ${TOOLCHAIN}/bin/cxxtools-config rm -rf ${TOOLCHAIN}/bin/cxxtools-config

View File

@ -10,4 +10,4 @@ PKG_URL="https://github.com/Duckbox-Developers/dvbsnoop/archive/${PKG_VERSION}.t
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program" PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
PKG_TOOLCHAIN="autotools" 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_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_LONGDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
PKG_TOOLCHAIN="autotools" 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_URL="https://github.com/mighty-p/t2scan/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A small channel scan tool which generates DVB-T/T2 channels.conf files." 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_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A channel scan tool which generates ATSC, DVB-C, DVB-S/S2 and DVB-T channels.conf files." PKG_LONGDESC="A channel scan tool which generates ATSC, DVB-C, DVB-S/S2 and DVB-T channels.conf files."
PKG_TOOLCHAIN="autotools" 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_URL="${SOURCEFORGE_SRC}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libusb-compat" PKG_DEPENDS_TARGET="toolchain libusb-compat"
PKG_LONGDESC="Library to drive serial/parallel/usb displays with built-in controllers." 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 \ PKG_CONFIGURE_OPTS_TARGET="--prefix=${SYSROOT_PREFIX}/usr \
--bindir=${SYSROOT_PREFIX}/usr/bin \ --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_DEPENDS_TARGET="toolchain ncurses libstatgrab"
PKG_LONGDESC="A small and simple console-based live network and disk io bandwidth monitor." PKG_LONGDESC="A small and simple console-based live network and disk io bandwidth monitor."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--with-libstatgrab \ PKG_CONFIGURE_OPTS_TARGET="--with-libstatgrab \
--with-time \ --with-time \

View File

@ -11,16 +11,15 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A portable framework for low-level network monitoring." PKG_LONGDESC="A portable framework for low-level network monitoring."
# use configure, not cmake. review cmake in future release. # use configure, not cmake. review cmake in future release.
PKG_TOOLCHAIN="configure" PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \ PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \
ac_cv_header_libusb_1_0_libusb_h=no \ ac_cv_header_libusb_1_0_libusb_h=no \
--disable-shared \ --disable-shared \
--with-pcap=linux \ --with-pcap=linux \
--disable-bluetooth \ --disable-bluetooth \
--disable-can \
--without-libnl \ --without-libnl \
--disable-dbus \ --disable-dbus"
--disable-canusb"
pre_configure_target() { pre_configure_target() {
# When cross-compiling, configure can't set linux version # When cross-compiling, configure can't set linux version

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_DEPENDS_TARGET="toolchain ncurses libpcap libnl"
PKG_LONGDESC="A tool to display bandwidth usage on an interface." PKG_LONGDESC="A tool to display bandwidth usage on an interface."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
pre_build_target() { pre_build_target() {
mkdir -p ${PKG_BUILD}/.${TARGET_NAME} 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_DEPENDS_TARGET="toolchain libpcap pcre2"
PKG_LONGDESC="A tool like GNU grep applied to the network layer." PKG_LONGDESC="A tool like GNU grep applied to the network layer."
PKG_TOOLCHAIN="autotools" 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 \ PKG_CONFIGURE_OPTS_TARGET="--with-pcap-includes=${SYSROOT_PREFIX}/usr/include \
--enable-ipv6 \ --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_URL="https://github.com/hasse69/rar2fs/archive/refs/tags/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain fuse unrar" PKG_DEPENDS_TARGET="toolchain fuse unrar"
PKG_LONGDESC="FUSE file system for reading RAR archives" PKG_LONGDESC="FUSE file system for reading RAR archives"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
pre_configure_target() { 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_URL="https://www.tcpdump.org/release/tcpdump-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpcap libtirpc" PKG_DEPENDS_TARGET="toolchain libpcap libtirpc"
PKG_LONGDESC="A program that allows you to dump the traffic on a network." 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. # use configure, not cmake. review cmake in future release.
PKG_TOOLCHAIN="configure" PKG_TOOLCHAIN="configure"

View File

@ -11,7 +11,7 @@ PKG_SOURCE_DIR="asio-asio-${PKG_VERSION//./-}"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Asio C++ Library." PKG_LONGDESC="Asio C++ Library."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--without-boost --without-openssl" 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_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Not Quite PTP" PKG_LONGDESC="Not Quite PTP"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--with-systemd-startup" 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_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_LONGDESC="AirPlay audio player."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--with-alsa \ PKG_CONFIGURE_OPTS_TARGET="--with-alsa \
--with-avahi \ --with-avahi \

View File

@ -10,7 +10,7 @@ PKG_URL="http://www.harding.motd.ca/autossh/autossh-${PKG_VERSION}.tgz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Automatically restart SSH sessions and tunnels." PKG_LONGDESC="Automatically restart SSH sessions and tunnels."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes" ac_cv_func_realloc_0_nonnull=yes"

View File

@ -10,7 +10,7 @@ PKG_URL="http://ftpmirror.gnu.org/diffutils/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A package of several programs related to finding differences between files." PKG_LONGDESC="A package of several programs related to finding differences between files."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \ PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--without-libsigsegv-prefix \ --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_URL="https://github.com/crigler/dtach/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A program that emulates the detach feature of screen." PKG_LONGDESC="A program that emulates the detach feature of screen."
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
makeinstall_target() { makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin 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_DEPENDS_TARGET="toolchain libxml2"
PKG_LONGDESC="A simple tool for input event debugging." PKG_LONGDESC="A simple tool for input event debugging."
PKG_TOOLCHAIN="autotools" 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_URL="https://github.com/adrianlopezroche/fdupes/releases/download/v${PKG_VERSION}/fdupes-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses sqlite" PKG_DEPENDS_TARGET="toolchain ncurses sqlite"
PKG_LONGDESC="A program for identifying or deleting duplicate files residing within specified directories." 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_CONFIGURE_OPTS_TARGET="--without-ncurses"
PKG_MAKE_OPTS_TARGET="PREFIX=/usr" 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_URL="https://github.com/vitlav/hddtemp/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" 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_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_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db" PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db"

View File

@ -10,9 +10,10 @@ PKG_URL="https://github.com/htop-dev/htop/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses" PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="An interactive process viewer for Unix." PKG_LONGDESC="An interactive process viewer for Unix."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-unicode \ PKG_CONFIGURE_OPTS_TARGET="--disable-unicode \
--disable-static \
HTOP_NCURSES_CONFIG_SCRIPT=ncurses-config" HTOP_NCURSES_CONFIG_SCRIPT=ncurses-config"
pre_configure_target() { pre_configure_target() {

View File

@ -10,12 +10,11 @@ PKG_URL="https://github.com/cjd/mtpfs/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain fuse glib libmtp" PKG_DEPENDS_TARGET="toolchain fuse glib libmtp"
PKG_LONGDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device." PKG_LONGDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-mad" PKG_CONFIGURE_OPTS_TARGET="--disable-mad"
# TODO: mtpfs runs host utils while building, fix and set # TODO: mtpfs runs host utils while building, fix and set
pre_configure_target() { pre_configure_target() {
export LIBS="-lusb-1.0 -ludev" export LIBS="-lusb-1.0 -ludev"
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
} }

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_URL="http://ftpmirror.gnu.org/patch/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Patch takes a patch file containing a difference listing produced by the diff." 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" PKG_CONFIGURE_OPTS_TARGET="--disable-xattr"

View File

@ -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_URL="http://www.ivarch.com/programs/sources/pv-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Pipe Viewer can be inserted into any normal pipeline between two processes." PKG_LONGDESC="Pipe Viewer can be inserted into any normal pipeline between two processes."
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--enable-static-nls"

View File

@ -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_URL="https://ftpmirror.gnu.org/screen/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses" PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="Screen is a window manager that multiplexes a physical terminal between several processes" 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_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \ PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
--disable-pam \ --disable-pam \
--disable-telnet \ --disable-telnet \
--disable-socket-dir" --disable-socket-dir"
pre_configure_target() {
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
}

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_URL="https://sg.danny.cz/sg/p/sdparm-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="The sdparm utility accesses SCSI device parameters." 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_URL="https://downloads.sourceforge.net/sourceforge/smartmontools/smartmontools-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Control and monitor storage systems using S.M.A.R.T." 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 \ PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
--without-initscriptdir \ --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_URL="https://github.com/vim/vim/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses" PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="Vim is a highly configurable text editor built to enable efficient text editing." 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 \ PKG_CONFIGURE_OPTS_TARGET="vim_cv_getcwd_broken=no \
vim_cv_memmove_handles_overlap=yes \ vim_cv_memmove_handles_overlap=yes \

View File

@ -13,21 +13,15 @@ PKG_DEPENDS_TARGET="toolchain tntnet:host libtool cxxtools zlib"
PKG_LONGDESC="A web application server for C++." PKG_LONGDESC="A web application server for C++."
PKG_CONFIGURE_OPTS_HOST="--disable-unittest \ PKG_CONFIGURE_OPTS_HOST="--disable-unittest \
--with-server=no \ --disable-server \
--with-sdk=yes \ --enable-sdk \
--with-demos=no \ --disable-demos"
--with-epoll=yes \
--with-ssl=no \
--with-stressjob=no"
PKG_CONFIGURE_OPTS_TARGET="--disable-unittest \ PKG_CONFIGURE_OPTS_TARGET="--disable-unittest \
--with-sysroot=${SYSROOT_PREFIX} \ --with-sysroot=${SYSROOT_PREFIX} \
--with-server=no \ --disable-server \
--with-sdk=no \ --disable-sdk \
--with-demos=no \ --disable-demos"
--with-epoll=yes \
--with-ssl=no \
--with-stressjob=no"
post_configure_target() { post_configure_target() {
libtool_remove_rpath libtool libtool_remove_rpath libtool

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_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_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_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-parallel" PKG_BUILD_FLAGS="-parallel -cfg-libs"
PKG_IS_ADDON="yes" PKG_IS_ADDON="yes"
PKG_ADDON_NAME="LCDproc" PKG_ADDON_NAME="LCDproc"

View File

@ -14,6 +14,7 @@ PKG_SECTION="service"
PKG_SHORTDESC="MiniDLNA (ReadyMedia): a fully compliant DLNA/UPnP-AV server" 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_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_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_IS_ADDON="yes" PKG_IS_ADDON="yes"
PKG_ADDON_NAME="MiniDLNA (ReadyMedia)" PKG_ADDON_NAME="MiniDLNA (ReadyMedia)"

View File

@ -13,7 +13,7 @@ PKG_DEPENDS_TARGET="toolchain libdvbcsa libxml2 openssl"
PKG_SECTION="service" PKG_SECTION="service"
PKG_SHORTDESC="minisatip: a Sat>IP streaming server for Linux" 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_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_IS_ADDON="yes"
PKG_ADDON_NAME="Minisatip" PKG_ADDON_NAME="Minisatip"
@ -26,7 +26,6 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--with-xml2=$(get_install_dir libxml2)/usr/include/libxml2" --with-xml2=$(get_install_dir libxml2)/usr/include/libxml2"
pre_configure_target() { pre_configure_target() {
TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
cd ${PKG_BUILD} cd ${PKG_BUILD}
rm -rf .${TARGET_NAME} rm -rf .${TARGET_NAME}
} }

View File

@ -12,27 +12,19 @@ PKG_DEPENDS_TARGET="toolchain libogg"
PKG_LONGDESC="An Free Lossless Audio Codec." PKG_LONGDESC="An Free Lossless Audio Codec."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
# flac-1.3.1 dont build with LTO support # flac-1.3.1 dont build with LTO support
PKG_BUILD_FLAGS="+pic" PKG_BUILD_FLAGS="+pic -cfg-libs"
# package specific configure options # package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--enable-static \ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \ --disable-shared \
--disable-rpath \ --disable-rpath \
--disable-altivec \
--disable-doxygen-docs \ --disable-doxygen-docs \
--disable-thorough-tests \ --disable-thorough-tests \
--disable-cpplibs \ --disable-cpplibs \
--disable-xmms-plugin \
--disable-oggtest \ --disable-oggtest \
--with-ogg=${SYSROOT_PREFIX}/usr \ --with-ogg=${SYSROOT_PREFIX}/usr \
--with-gnu-ld" --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() { post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin rm -rf ${INSTALL}/usr/bin
} }

View File

@ -20,7 +20,6 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--without-pulseaudio \ --without-pulseaudio \
--without-portaudio \ --without-portaudio \
--without-portaudiocpp \ --without-portaudiocpp \
--without-sdl \
--without-sdl2 \ --without-sdl2 \
--without-sndfile \ --without-sndfile \
--without-flac" --without-flac"

View File

@ -10,6 +10,7 @@ PKG_URL="https://strace.io/files/${PKG_VERSION}/strace-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="strace is a diagnostic, debugging and instructional userspace utility" PKG_LONGDESC="strace is a diagnostic, debugging and instructional userspace utility"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs"
if [ "${TARGET_ARCH}" = x86_64 -o "${TARGET_ARCH}" = "aarch64" ]; then if [ "${TARGET_ARCH}" = x86_64 -o "${TARGET_ARCH}" = "aarch64" ]; then
PKG_CONFIGURE_OPTS_TARGET="--enable-mpers=no" PKG_CONFIGURE_OPTS_TARGET="--enable-mpers=no"

View File

@ -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_URL="http://ftpmirror.gnu.org/autoconf-archive/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host" PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="autoconf-archive is an package of m4 macros" 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}" PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} --prefix=${TOOLCHAIN}"

View File

@ -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_URL="https://ftpmirror.gnu.org/autoconf/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host m4:host gettext:host" PKG_DEPENDS_HOST="ccache:host m4:host gettext:host"
PKG_LONGDESC="A GNU tool for automatically configuring source code." PKG_LONGDESC="A GNU tool for automatically configuring source code."
PKG_BUILD_FLAGS="-cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST="EMACS=no \ PKG_CONFIGURE_OPTS_HOST="EMACS=no \
ac_cv_path_M4=${TOOLCHAIN}/bin/m4 \ ac_cv_path_M4=${TOOLCHAIN}/bin/m4 \

View File

@ -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_URL="http://ftpmirror.gnu.org/automake/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host autoconf:host" PKG_DEPENDS_HOST="ccache:host autoconf:host"
PKG_LONGDESC="A GNU tool for automatically creating Makefiles." 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" PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} --disable-silent-rules"

View File

@ -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_URL="http://ftpmirror.gnu.org/bison/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host m4:host" PKG_DEPENDS_HOST="ccache:host m4:host"
PKG_LONGDESC="A general-purpose parser generator." 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" PKG_CONFIGURE_OPTS_HOST="--disable-rpath --with-gnu-ld"

View File

@ -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_DEPENDS_TARGET="toolchain zlib elfutils:host"
PKG_LONGDESC="A collection of utilities to handle ELF objects." PKG_LONGDESC="A collection of utilities to handle ELF objects."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+pic" PKG_BUILD_FLAGS="+pic -cfg-libs -cfg-libs:host"
if [ "${LIBREELEC_VERSION}" = "devel" ]; then if [ "${LIBREELEC_VERSION}" = "devel" ]; then
PKG_PROGRAMS="--enable-programs --program-prefix=" PKG_PROGRAMS="--enable-programs --program-prefix="
@ -40,14 +40,6 @@ PKG_CONFIGURE_OPTS_TARGET="utrace_cv_cc_biarch=false \
--without-bzlib \ --without-bzlib \
--without-lzma" --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() { post_makeinstall_target() {
# don't install progs into sysroot # don't install progs into sysroot
rm -fr ${SYSROOT_PREFIX}/usr/bin rm -fr ${SYSROOT_PREFIX}/usr/bin

View File

@ -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_URL="http://launchpad.net/intltool/trunk/${PKG_VERSION}/+download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="ccache:host" 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_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() { post_makeinstall_host() {
mkdir -p ${SYSROOT_PREFIX}/usr/share/aclocal mkdir -p ${SYSROOT_PREFIX}/usr/share/aclocal

View File

@ -10,5 +10,6 @@ PKG_URL="https://github.com/stevegrubb/libcap-ng/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Libcap-ng is a library for Linux that makes using posix capabilities easy." PKG_LONGDESC="Libcap-ng is a library for Linux that makes using posix capabilities easy."
PKG_TOOLCHAIN="autotools" 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"

View File

@ -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_URL="https://downloads.sourceforge.net/project/fstrcmp/fstrcmp/$(get_pkg_version_maj_min)/fstrcmp-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" 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_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() { pre_configure_target() {
cd "${PKG_BUILD}" cd "${PKG_BUILD}"

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_URL="http://xcb.freedesktop.org/dist/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A library providing weak aliases for pthread functions." PKG_LONGDESC="A library providing weak aliases for pthread functions."
PKG_BUILD_FLAGS="-cfg-libs"

View File

@ -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_URL="http://ftpmirror.gnu.org/m4/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_HOST="ccache:host" PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="The m4 macro processor." 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}" PKG_CONFIGURE_OPTS_HOST="gl_cv_func_gettimeofday_clobber=no --target=${TARGET_NAME}"

View File

@ -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_URL="http://ftpmirror.gnu.org/make/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="" PKG_DEPENDS_HOST=""
PKG_LONGDESC="Utility to maintain groups of programs." PKG_LONGDESC="Utility to maintain groups of programs."
PKG_BUILD_FLAGS="+local-cc" PKG_BUILD_FLAGS="+local-cc -cfg-libs:host"
post_makeinstall_host() { post_makeinstall_host() {
ln -sf make ${TOOLCHAIN}/bin/gmake ln -sf make ${TOOLCHAIN}/bin/gmake

View File

@ -10,3 +10,4 @@ PKG_URL="https://github.com/NixOS/patchelf/releases/download/${PKG_VERSION}/patc
PKG_DEPENDS_HOST="autotools:host" PKG_DEPENDS_HOST="autotools:host"
PKG_LONGDESC="A small utility to modify the dynamic linker and RPATH of ELF executables" PKG_LONGDESC="A small utility to modify the dynamic linker and RPATH of ELF executables"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs:host"

View File

@ -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_URL="https://www.jedsoft.org/releases/slang/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A library designed to allow a developer to create robust multi-platform software." 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 \ PKG_CONFIGURE_OPTS_TARGET="--without-pcre \
--without-onig" --without-onig"

View File

@ -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_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_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_LONGDESC="Python3 is an interpreted object-oriented programming language."
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_PYTHON_VERSION="python3.12" PKG_PYTHON_VERSION="python3.12"
@ -44,6 +45,7 @@ PKG_CONFIGURE_OPTS_HOST="ac_cv_prog_HAS_HG=/bin/false
--with-doc-strings --with-doc-strings
--without-pymalloc --without-pymalloc
--with-ensurepip=no --with-ensurepip=no
--enable-shared
" "
PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false 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 --without-ensurepip
--enable-ipv6 --enable-ipv6
--with-build-python=${TOOLCHAIN}/bin/python --with-build-python=${TOOLCHAIN}/bin/python
--enable-shared
" "
pre_configure_host() { pre_configure_host() {

View File

@ -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_URL="https://www.nasm.us/pub/nasm/releasebuilds/${PKG_VERSION}/nasm-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host" PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="The Netwide Assembler, NASM, is an 80x86 and x86-64 assembler designed for portability and modularity." PKG_LONGDESC="The Netwide Assembler, NASM, is an 80x86 and x86-64 assembler designed for portability and modularity."
PKG_BUILD_FLAGS="-cfg-libs:host"
pre_configure_host() {
HOST_CONFIGURE_OPTS=$(echo ${HOST_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||")
}

View File

@ -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_URL="https://download.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Linux CIFS userspace utilities" PKG_LONGDESC="Linux CIFS userspace utilities"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \ ac_cv_func_realloc_0_nonnull=yes \

View File

@ -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_URL="https://www.kernel.org/pub/software/network/ethtool/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libmnl" PKG_DEPENDS_TARGET="toolchain libmnl"
PKG_LONGDESC="Ethtool is used for querying settings of an ethernet device and changing them." PKG_LONGDESC="Ethtool is used for querying settings of an ethernet device and changing them."
PKG_BUILD_FLAGS="-cfg-libs"

View File

@ -11,7 +11,7 @@ PKG_URL="https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/${PKG_NAME}-${PKG_
PKG_DEPENDS_TARGET="toolchain openssl zlib" PKG_DEPENDS_TARGET="toolchain openssl zlib"
PKG_LONGDESC="An open re-implementation of the SSH package." PKG_LONGDESC="An open re-implementation of the SSH package."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+lto" PKG_BUILD_FLAGS="+lto -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_rpc_types_h=no \ PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_rpc_types_h=no \
--sysconfdir=/etc/ssh \ --sysconfdir=/etc/ssh \

View File

@ -13,12 +13,10 @@ PKG_LONGDESC="A full featured SSL VPN software solution that integrates OpenVPN
PKG_TOOLCHAIN="configure" PKG_TOOLCHAIN="configure"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_have_decl_TUNSETPERSIST=no \ PKG_CONFIGURE_OPTS_TARGET="ac_cv_have_decl_TUNSETPERSIST=no \
--disable-server \
--disable-plugins \ --disable-plugins \
--enable-iproute2 IPROUTE=/sbin/ip \ --enable-iproute2 IPROUTE=/sbin/ip \
--enable-management \ --enable-management \
--enable-fragment \ --enable-fragment \
--disable-multihome \
--disable-port-share \ --disable-port-share \
--disable-debug" --disable-debug"

View File

@ -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_URL="${SOURCEFORGE_SRC}/rpcbind/rpcbind/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libtirpc systemd" PKG_DEPENDS_TARGET="toolchain libtirpc systemd"
PKG_LONGDESC="The rpcbind utility is a server that converts RPC program numbers into universal addresses." 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 \ PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_rpcsvc_mount_h=no \
--disable-warmstarts \ --disable-warmstarts \

View File

@ -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_HOST="autotools:host zlib:host"
PKG_DEPENDS_TARGET="toolchain zlib openssl" PKG_DEPENDS_TARGET="toolchain zlib openssl"
PKG_LONGDESC="A very fast method for bringing remote files into sync." 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 \ PKG_CONFIGURE_OPTS_HOST="--disable-md2man \
--disable-ipv6 \ --disable-ipv6 \
@ -34,14 +34,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-acl-support \
--with-included-popt \ --with-included-popt \
--without-included-zlib" --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() { pre_make_host() {
# do not detect LE git version # do not detect LE git version
echo "#define RSYNC_GITVER \"${PKG_VERSION}\"" >git-version.h echo "#define RSYNC_GITVER \"${PKG_VERSION}\"" >git-version.h

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_URL="https://downloads.sourceforge.net/sshpass/sshpass-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="sshpass: a tool for non-interactive ssh password auth" PKG_LONGDESC="sshpass: a tool for non-interactive ssh password auth"
PKG_BUILD_FLAGS="-cfg-libs"
pre_configure_target() { pre_configure_target() {
export ac_cv_func_malloc_0_nonnull=yes export ac_cv_func_malloc_0_nonnull=yes

View File

@ -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_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_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_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_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_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_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_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 #### Meson Options
| Variable | Default | Required |Description | | 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) | | strip | enabled | target | strips executables (or not) |
| sysroot | enabled | target | installs the package to the sysroot folder (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 | | 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 ###### Example
``` ```

View File

@ -14,7 +14,6 @@ PKG_LONGDESC="A library which provides a secure layer over a reliable transport
PKG_CONFIGURE_OPTS_COMMON="--disable-doc \ PKG_CONFIGURE_OPTS_COMMON="--disable-doc \
--disable-full-test-suite \ --disable-full-test-suite \
--disable-guile \
--disable-libdane \ --disable-libdane \
--disable-padlock \ --disable-padlock \
--disable-rpath \ --disable-rpath \

View File

@ -11,7 +11,7 @@ PKG_DEPENDS_TARGET="autotools:host gcc:host nss:host nspr:host"
PKG_DEPENDS_UNPACK="nss" PKG_DEPENDS_UNPACK="nss"
PKG_LONGDESC="Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions" PKG_LONGDESC="Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions"
PKG_TOOLCHAIN="configure" PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="-parallel" PKG_BUILD_FLAGS="-parallel -cfg-libs"
if [ "${TARGET_ARCH}" = "x86_64" ]; then if [ "${TARGET_ARCH}" = "x86_64" ]; then
TARGET_USE_64="--enable-64bit" TARGET_USE_64="--enable-64bit"

View File

@ -12,6 +12,7 @@ PKG_DEPENDS_HOST="autotools:host"
PKG_DEPENDS_TARGET="autotools:host gcc:host" PKG_DEPENDS_TARGET="autotools:host gcc:host"
PKG_DEPENDS_INIT="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_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_CONFIGURE_OPTS_TARGET="--enable-compat-symlinks"
PKG_MAKE_OPTS_TARGET="PREFIX=/usr" PKG_MAKE_OPTS_TARGET="PREFIX=/usr"

View File

@ -12,7 +12,7 @@ PKG_DEPENDS_HOST="autotools:host"
PKG_DEPENDS_TARGET="autotools:host gcc:host" PKG_DEPENDS_TARGET="autotools:host gcc:host"
PKG_DEPENDS_INIT="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_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}/ \ PKG_CONFIGURE_OPTS_HOST="--prefix=${TOOLCHAIN}/ \
--bindir=${TOOLCHAIN}/bin \ --bindir=${TOOLCHAIN}/bin \

View File

@ -11,6 +11,7 @@ PKG_URL="https://github.com/LibreELEC/eventlircd/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain systemd lirc" PKG_DEPENDS_TARGET="toolchain systemd lirc"
PKG_LONGDESC="The eventlircd daemon provides four functions for LIRC devices" PKG_LONGDESC="The eventlircd daemon provides four functions for LIRC devices"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--with-udev-dir=/usr/lib/udev \ PKG_CONFIGURE_OPTS_TARGET="--with-udev-dir=/usr/lib/udev \
--with-lircd-socket=/run/lirc/lircd" --with-lircd-socket=/run/lirc/lircd"

View File

@ -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_URL="https://mirrors.kernel.org/gnu/sed/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host" PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="The sed (Stream EDitor) editor is a stream or batch (non-interactive) editor." 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" PKG_CONFIGURE_OPTS_HOST="--disable-nls --disable-acl --without-selinux"

View File

@ -9,4 +9,5 @@ PKG_SITE="http://itstool.org"
PKG_URL="http://files.itstool.org/itstool/itstool-${PKG_VERSION}.tar.bz2" PKG_URL="http://files.itstool.org/itstool/itstool-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_HOST="toolchain libxml2:host" PKG_DEPENDS_HOST="toolchain libxml2:host"
PKG_LONGDESC="ITS Tool allows you to translate your XML documents with PO files." PKG_LONGDESC="ITS Tool allows you to translate your XML documents with PO files."
PKG_BUILD_FLAGS="-cfg-libs:host"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"

View File

@ -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_HOST="libxml2:host libxslt:host"
PKG_DEPENDS_TARGET="toolchain libxml2 libxslt" 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_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 \ PKG_CONFIGURE_OPTS_HOST=" ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \ ac_cv_func_realloc_0_nonnull=yes \

View File

@ -13,6 +13,7 @@ PKG_DEPENDS_TARGET="toolchain flex freetype:host gettext:host grub:host"
PKG_DEPENDS_UNPACK="gnulib" PKG_DEPENDS_UNPACK="gnulib"
PKG_LONGDESC="GRUB is a Multiboot boot loader." PKG_LONGDESC="GRUB is a Multiboot boot loader."
PKG_TOOLCHAIN="configure" PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
pre_configure_host() { pre_configure_host() {
unset CFLAGS unset CFLAGS

View File

@ -11,3 +11,4 @@ PKG_URL="http://ftpmirror.gnu.org/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.bz2
PKG_DEPENDS_HOST="autotools:host" PKG_DEPENDS_HOST="autotools:host"
PKG_LONGDESC="mtools: A collection of utilities to access MS-DOS disks" PKG_LONGDESC="mtools: A collection of utilities to access MS-DOS disks"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs:host"

View File

@ -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_URL="https://www.nano-editor.org/dist/v${PKG_VERSION%%.*}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain ncurses" PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="Nano is an enhanced clone of the Pico text editor." PKG_LONGDESC="Nano is an enhanced clone of the Pico text editor."
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-utf8 \ PKG_CONFIGURE_OPTS_TARGET="--disable-utf8 \
--disable-nls \ --disable-nls \

View File

@ -10,6 +10,7 @@ PKG_URL="https://releases.pagure.org/newt/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain slang popt" PKG_DEPENDS_TARGET="toolchain slang popt"
PKG_LONGDESC="Newt is a programming library for color text mode, widget based user interfaces." PKG_LONGDESC="Newt is a programming library for color text mode, widget based user interfaces."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \ PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--without-python \ --without-python \

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_URL="https://xorg.freedesktop.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain util-macros" PKG_DEPENDS_TARGET="toolchain util-macros"
PKG_LONGDESC="Abstract network code for X." PKG_LONGDESC="Abstract network code for X."
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--without-xmlto" 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_URL="https://xorg.freedesktop.org/archive/individual/proto/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain util-macros Python3:host" PKG_DEPENDS_TARGET="toolchain util-macros Python3:host"
PKG_LONGDESC="X C-language Bindings protocol headers." PKG_LONGDESC="X C-language Bindings protocol headers."
PKG_BUILD_FLAGS="-cfg-libs"
post_makeinstall_target() { post_makeinstall_target() {
python_remove_source python_remove_source

View File

@ -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_URL="https://xorg.freedesktop.org/archive/individual/util/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="X.org autoconf utilities such as M4 macros." PKG_LONGDESC="X.org autoconf utilities such as M4 macros."
PKG_BUILD_FLAGS="-cfg-libs"
post_makeinstall_target() { post_makeinstall_target() {
rm -rf ${INSTALL}/usr rm -rf ${INSTALL}/usr

View File

@ -159,9 +159,10 @@ TARGET_CONFIGURE_OPTS="--host=${TARGET_NAME} \
--sysconfdir=/etc \ --sysconfdir=/etc \
--libdir=/usr/lib \ --libdir=/usr/lib \
--libexecdir=/usr/lib \ --libexecdir=/usr/lib \
--localstatedir=/var \ --localstatedir=/var"
--disable-static \ if flag_enabled "cfg-libs" "yes"; then
--enable-shared" TARGET_CONFIGURE_OPTS+=" --disable-static --enable-shared"
fi
TARGET_CMAKE_OPTS="-DCMAKE_TOOLCHAIN_FILE=${CMAKE_CONF} \ TARGET_CMAKE_OPTS="-DCMAKE_TOOLCHAIN_FILE=${CMAKE_CONF} \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
@ -187,9 +188,10 @@ HOST_CONFIGURE_OPTS="--host=${HOST_NAME} \
--sbindir=${TOOLCHAIN}/sbin \ --sbindir=${TOOLCHAIN}/sbin \
--sysconfdir=${TOOLCHAIN}/etc \ --sysconfdir=${TOOLCHAIN}/etc \
--libexecdir=${TOOLCHAIN}/lib \ --libexecdir=${TOOLCHAIN}/lib \
--localstatedir=${TOOLCHAIN}/var \ --localstatedir=${TOOLCHAIN}/var"
--disable-static \ if flag_enabled "cfg-libs:host" "yes"; then
--enable-shared" HOST_CONFIGURE_OPTS+=" --disable-static --enable-shared"
fi
HOST_CMAKE_OPTS="${CMAKE_GENERATOR} \ HOST_CMAKE_OPTS="${CMAKE_GENERATOR} \
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_CONF} \ -DCMAKE_TOOLCHAIN_FILE=${CMAKE_CONF} \