vanhofen
4 years ago
53 changed files with 1333 additions and 1167 deletions
@ -0,0 +1,39 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# alsa-lib
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
ALSA_LIB_VERSION = 1.2.4 |
||||
|
ALSA_LIB_DIR = alsa-lib-$(ALSA_LIB_VERSION) |
||||
|
ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2 |
||||
|
ALSA_LIB_SITE = https://www.alsa-project.org/files/pub/lib |
||||
|
|
||||
|
ALSA_LIB_AUTORECONF = YES |
||||
|
|
||||
|
ALSA_LIB_CONF_OPTS = \
|
||||
|
--with-alsa-devdir=/dev/snd/ \
|
||||
|
--with-plugindir=$(libdir)/alsa \
|
||||
|
--without-debug \
|
||||
|
--with-debug=no \
|
||||
|
--with-versioned=no \
|
||||
|
--enable-symbolic-functions \
|
||||
|
--disable-aload \
|
||||
|
--disable-rawmidi \
|
||||
|
--disable-resmgr \
|
||||
|
--disable-old-symbols \
|
||||
|
--disable-alisp \
|
||||
|
--disable-ucm \
|
||||
|
--disable-hwdep \
|
||||
|
--disable-python \
|
||||
|
--disable-topology |
||||
|
|
||||
|
define ALSA_LIB_TARGET_CLEANUP |
||||
|
find $(TARGET_datadir)/alsa/cards/ -name '*.conf' ! -name 'aliases.conf' | xargs --no-run-if-empty rm |
||||
|
find $(TARGET_datadir)/alsa/pcm/ -name '*.conf' ! -name 'default.conf' ! -name 'dmix.conf' ! -name 'dsnoop.conf' | xargs --no-run-if-empty rm |
||||
|
-rm -r $(TARGET_datadir)/aclocal |
||||
|
endef |
||||
|
ALSA_LIB_TARGET_FINALIZE_HOOKS += ALSA_LIB_TARGET_CLEANUP |
||||
|
|
||||
|
alsa-lib: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,19 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# confuse
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
CONFUSE_VERSION = 3.2.2 |
||||
|
CONFUSE_DIR = confuse-$(CONFUSE_VERSION) |
||||
|
CONFUSE_SOURCE = confuse-$(CONFUSE_VERSION).tar.xz |
||||
|
CONFUSE_SITE = https://github.com/martinh/libconfuse/releases/download/v$(CONFUSE_VERSION) |
||||
|
|
||||
|
CONFUSE_CONF_OPTS = \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--enable-silent-rules \
|
||||
|
--enable-static \
|
||||
|
--disable-shared |
||||
|
|
||||
|
confuse: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,41 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# coreutils
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
COREUTILS_VERSION = 8.30 |
||||
|
COREUTILS_DIR = coreutils-$(COREUTILS_VERSION) |
||||
|
COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz |
||||
|
COREUTILS_SITE = $(GNU_MIRROR)/coreutils |
||||
|
|
||||
|
COREUTILS_AUTORECONF = YES |
||||
|
|
||||
|
COREUTILS_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--bindir=$(base_bindir).$(@F) \
|
||||
|
--libexecdir=$(REMOVE_libexecdir) \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--enable-silent-rules \
|
||||
|
--disable-xattr \
|
||||
|
--disable-libcap \
|
||||
|
--disable-acl \
|
||||
|
--without-gmp \
|
||||
|
--without-selinux |
||||
|
|
||||
|
COREUTILS_BINARIES = touch |
||||
|
|
||||
|
define COREUTILS_INSTALL_BINARIES |
||||
|
for bin in $(COREUTILS_BINARIES); do \
|
||||
|
rm -f $(TARGET_base_bindir)/$$bin; \
|
||||
|
$(INSTALL_EXEC) -D $(TARGET_base_bindir).$(@F)/$$bin $(TARGET_base_bindir)/$$bin; \
|
||||
|
done |
||||
|
rm -r $(TARGET_base_bindir).$(@F) |
||||
|
endef |
||||
|
COREUTILS_TARGET_FINALIZE_HOOKS += COREUTILS_INSTALL_BINARIES |
||||
|
|
||||
|
coreutils: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,25 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# dosfstools
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
DOSFSTOOLS_VERSION = 4.1 |
||||
|
DOSFSTOOLS_DIR = dosfstools-$(DOSFSTOOLS_VERSION) |
||||
|
DOSFSTOOLS_SOURCE = dosfstools-$(DOSFSTOOLS_VERSION).tar.xz |
||||
|
DOSFSTOOLS_SITE = https://github.com/dosfstools/dosfstools/releases/download/v$(DOSFSTOOLS_VERSION) |
||||
|
|
||||
|
DOSFSTOOLS_CFLAGS = $(TARGET_CFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer |
||||
|
|
||||
|
DOSFSTOOLS_AUTORECONF = YES |
||||
|
|
||||
|
DOSFSTOOLS_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--without-udev \
|
||||
|
--enable-compat-symlinks \
|
||||
|
CFLAGS="$(DOSFSTOOLS_CFLAGS)" |
||||
|
|
||||
|
dosfstools: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,18 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# ethtool
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
ETHTOOL_VERSION = 5.10 |
||||
|
ETHTOOL_DIR = ethtool-$(ETHTOOL_VERSION) |
||||
|
ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz |
||||
|
ETHTOOL_SITE = $(KERNEL_MIRROR)/software/network/ethtool |
||||
|
|
||||
|
ETHTOOL_CONF_OPTS = \
|
||||
|
--libdir=$(TARGET_libdir) \
|
||||
|
--disable-pretty-dump \
|
||||
|
--disable-netlink |
||||
|
|
||||
|
ethtool: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,24 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# exfat-utils
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
EXFAT_UTILS_VERSION = 1.3.0 |
||||
|
EXFAT_UTILS_DIR = exfat-utils-$(EXFAT_UTILS_VERSION) |
||||
|
EXFAT_UTILS_SOURCE = exfat-utils-$(EXFAT_UTILS_VERSION).tar.gz |
||||
|
EXFAT_UTILS_SITE = https://github.com/relan/exfat/releases/download/v$(EXFAT_UTILS_VERSION) |
||||
|
|
||||
|
EXFAT_UTILS_DEPENDENCIES = fuse-exfat |
||||
|
|
||||
|
EXFAT_UTILS_AUTORECONF = YES |
||||
|
|
||||
|
EXFAT_UTILS_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--docdir=$(REMOVE_docdir) |
||||
|
|
||||
|
exfat-utils: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,20 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# expat
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
EXPAT_VERSION = 2.2.9 |
||||
|
EXPAT_DIR = expat-$(EXPAT_VERSION) |
||||
|
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.bz2 |
||||
|
EXPAT_SITE = https://sourceforge.net/projects/expat/files/expat/$(EXPAT_VERSION) |
||||
|
|
||||
|
EXPAT_AUTORECONF = YES |
||||
|
|
||||
|
EXPAT_CONF_OPTS = \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--without-xmlwf \
|
||||
|
--without-docbook |
||||
|
|
||||
|
expat: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,32 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# f2fs-tools
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
F2FS_TOOLS_VERSION = 1.14.0 |
||||
|
F2FS_TOOLS_DIR = f2fs-tools-$(F2FS_TOOLS_VERSION) |
||||
|
F2FS_TOOLS_SOURCE = f2fs-tools-$(F2FS_TOOLS_VERSION).tar.gz |
||||
|
F2FS_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot |
||||
|
|
||||
|
F2FS_TOOLS_DEPENDENCIES = util-linux |
||||
|
|
||||
|
F2FS_TOOLS_AUTORECONF = YES |
||||
|
|
||||
|
F2FS_TOOLS_CONF_ENV = \
|
||||
|
ac_cv_file__git=no |
||||
|
|
||||
|
F2FS_TOOLS_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--without-selinux |
||||
|
|
||||
|
define F2FS_TOOLS_TARGET_CLEANUP |
||||
|
-rm $(addprefix $(TARGET_base_sbindir)/,sg_write_buffer) |
||||
|
endef |
||||
|
F2FS_TOOLS_TARGET_FINALIZE_HOOKS += F2FS_TOOLS_TARGET_CLEANUP |
||||
|
|
||||
|
f2fs-tools: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,26 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# flac
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
FLAC_VERSION = 1.3.3 |
||||
|
FLAC_DIR = flac-$(FLAC_VERSION) |
||||
|
FLAC_SOURCE = flac-$(FLAC_VERSION).tar.xz |
||||
|
FLAC_SITE = http://downloads.xiph.org/releases/flac |
||||
|
|
||||
|
FLAC_AUTORECONF = YES |
||||
|
|
||||
|
FLAC_CONF_OPTS = \
|
||||
|
--bindir=$(REMOVE_bindir) \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--enable-shared \
|
||||
|
--disable-static \
|
||||
|
--disable-cpplibs \
|
||||
|
--disable-xmms-plugin \
|
||||
|
--disable-altivec \
|
||||
|
--disable-ogg \
|
||||
|
--disable-sse |
||||
|
|
||||
|
flac: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,17 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# fribidi
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
FRIBIDI_VERSION = 1.0.10 |
||||
|
FRIBIDI_DIR = fribidi-$(FRIBIDI_VERSION) |
||||
|
FRIBIDI_SOURCE = fribidi-$(FRIBIDI_VERSION).tar.xz |
||||
|
FRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(FRIBIDI_VERSION) |
||||
|
|
||||
|
FRIBIDI_CONF_OPTS = \
|
||||
|
--disable-debug \
|
||||
|
--disable-deprecated |
||||
|
|
||||
|
fribidi: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,24 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# fuse-exfat
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
FUSE_EXFAT_VERSION = 1.3.0 |
||||
|
FUSE_EXFAT_DIR = fuse-exfat-$(FUSE_EXFAT_VERSION) |
||||
|
FUSE_EXFAT_SOURCE = fuse-exfat-$(FUSE_EXFAT_VERSION).tar.gz |
||||
|
FUSE_EXFAT_SITE = https://github.com/relan/exfat/releases/download/v$(FUSE_EXFAT_VERSION) |
||||
|
|
||||
|
FUSE_EXFAT_DEPENDENCIES = libfuse |
||||
|
|
||||
|
FUSE_EXFAT_AUTORECONF = YES |
||||
|
|
||||
|
FUSE_EXFAT_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--docdir=$(REMOVE_docdir) |
||||
|
|
||||
|
fuse-exfat: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,13 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# iperf
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
IPERF_VERSION = 3.1.3 |
||||
|
IPERF_DIR = iperf-$(IPERF_VERSION) |
||||
|
IPERF_SOURCE = iperf-$(IPERF_VERSION)-source.tar.gz |
||||
|
IPERF_SITE = https://iperf.fr/download/source |
||||
|
|
||||
|
iperf: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,15 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# less
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LESS_VERSION = 563 |
||||
|
LESS_DIR = less-$(LESS_VERSION) |
||||
|
LESS_SOURCE = less-$(LESS_VERSION).tar.gz |
||||
|
LESS_SITE = $(GNU_MIRROR)/less |
||||
|
|
||||
|
LESS_DEPENDENCIES = ncurses |
||||
|
|
||||
|
less: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,22 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libass
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBASS_VERSION = 0.14.0 |
||||
|
LIBASS_DIR = libass-$(LIBASS_VERSION) |
||||
|
LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz |
||||
|
LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION) |
||||
|
|
||||
|
LIBASS_DEPENDENCIES = freetype fribidi |
||||
|
|
||||
|
LIBASS_CONF_OPTS = \
|
||||
|
--disable-static \
|
||||
|
--disable-test \
|
||||
|
--disable-fontconfig \
|
||||
|
--disable-harfbuzz \
|
||||
|
--disable-require-system-font-provider |
||||
|
|
||||
|
libass: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,42 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libcurl
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBCURL_VERSION = 7.74.0 |
||||
|
LIBCURL_DIR = curl-$(LIBCURL_VERSION) |
||||
|
LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.bz2 |
||||
|
LIBCURL_SITE = https://curl.haxx.se/download |
||||
|
|
||||
|
LIBCURL_DEPENDENCIES = zlib openssl rtmpdump ca-bundle |
||||
|
|
||||
|
LIBCURL_CONFIG_SCRIPTS = curl-config |
||||
|
|
||||
|
LIBCURL_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
$(if $(filter $(BOXSERIES),hd1),--disable-ipv6,--enable-ipv6) \
|
||||
|
--disable-manual \
|
||||
|
--disable-file \
|
||||
|
--disable-rtsp \
|
||||
|
--disable-dict \
|
||||
|
--disable-ldap \
|
||||
|
--disable-curldebug \
|
||||
|
--disable-static \
|
||||
|
--disable-imap \
|
||||
|
--disable-gopher \
|
||||
|
--disable-pop3 \
|
||||
|
--disable-smtp \
|
||||
|
--disable-verbose \
|
||||
|
--disable-manual \
|
||||
|
--disable-ntlm-wb \
|
||||
|
--disable-ares \
|
||||
|
--without-libidn \
|
||||
|
--with-ca-bundle=$(CA_BUNDLE_DIR)/$(CA_BUNDLE_CRT) \
|
||||
|
--with-random=/dev/urandom \
|
||||
|
--with-ssl=$(TARGET_prefix) \
|
||||
|
--with-librtmp=$(TARGET_libdir) \
|
||||
|
--enable-optimize |
||||
|
|
||||
|
libcurl: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,17 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libdvbsi
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBDVBSI_VERSION = 0.3.9 |
||||
|
LIBDVBSI_DIR = libdvbsi++-$(LIBDVBSI_VERSION) |
||||
|
LIBDVBSI_SOURCE = libdvbsi++-$(LIBDVBSI_VERSION).tar.bz2 |
||||
|
LIBDVBSI_SITE = https://github.com/mtdcr/libdvbsi/releases/download/$(LIBDVBSI_VERSION) |
||||
|
|
||||
|
LIBDVBSI_CONV_OPTS = \
|
||||
|
--enable-shared \
|
||||
|
--disable-static |
||||
|
|
||||
|
libdvbsi: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,17 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libexif
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBEXIF_VERSION = 0.6.22 |
||||
|
LIBEXIF_DIR = libexif-$(LIBEXIF_VERSION) |
||||
|
LIBEXIF_SOURCE = libexif-$(LIBEXIF_VERSION).tar.xz |
||||
|
LIBEXIF_SITE = https://github.com/libexif/libexif/releases/download/libexif-$(subst .,_,$(LIBEXIF_VERSION))-release |
||||
|
|
||||
|
LIBEXIF_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--with-doc-dir=$(REMOVE_docdir) |
||||
|
|
||||
|
libexif: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,19 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libffi
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBFFI_VERSION = 3.3 |
||||
|
LIBFFI_DIR = libffi-$(LIBFFI_VERSION) |
||||
|
LIBFFI_SOURCE = libffi-$(LIBFFI_VERSION).tar.gz |
||||
|
LIBFFI_SITE = https://github.com/libffi/libffi/releases/download/v$(HOST_LIBFFI_VERSION) |
||||
|
|
||||
|
LIBFFI_AUTORECONF = YES |
||||
|
|
||||
|
LIBFFI_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
$(if $(filter $(BOXSERIES),hd1),--enable-static --disable-shared) |
||||
|
|
||||
|
libffi: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,29 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libfuse
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBFUSE_VERSION = 2.9.9 |
||||
|
LIBFUSE_DIR = fuse-$(LIBFUSE_VERSION) |
||||
|
LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz |
||||
|
LIBFUSE_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE_VERSION) |
||||
|
|
||||
|
LIBFUSE_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--disable-static \
|
||||
|
--disable-example \
|
||||
|
--disable-mtab \
|
||||
|
--with-gnu-ld \
|
||||
|
--enable-util \
|
||||
|
--enable-lib \
|
||||
|
--enable-silent-rules |
||||
|
|
||||
|
define LIBFUSE_TARGET_CLEANUP |
||||
|
-rm -r $(TARGET_sysconfdir)/udev |
||||
|
-rm $(TARGET_sysconfdir)/init.d/fuse |
||||
|
endef |
||||
|
LIBFUSE_TARGET_FINALIZE_HOOKS += LIBFUSE_TARGET_CLEANUP |
||||
|
|
||||
|
libfuse: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,22 @@ |
|||||
|
Fix build on the AArch64 platform |
||||
|
|
||||
|
Upstream-Status: Submitted |
||||
|
|
||||
|
Signed-off-by: Riku Voipio <riku.voipio@linaro.org> |
||||
|
|
||||
|
--- a/include/fuse_kernel.h
|
||||
|
+++ b/include/fuse_kernel.h
|
||||
|
@@ -88,12 +88,7 @@
|
||||
|
#ifndef _LINUX_FUSE_H |
||||
|
#define _LINUX_FUSE_H |
||||
|
|
||||
|
-#include <sys/types.h>
|
||||
|
-#define __u64 uint64_t
|
||||
|
-#define __s64 int64_t
|
||||
|
-#define __u32 uint32_t
|
||||
|
-#define __s32 int32_t
|
||||
|
-#define __u16 uint16_t
|
||||
|
+#include <linux/types.h>
|
||||
|
|
||||
|
/* |
||||
|
* Version negotiation: |
@ -0,0 +1,30 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libgcrypt
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBGCRYPT_VERSION = 1.8.5 |
||||
|
LIBGCRYPT_DIR = libgcrypt-$(LIBGCRYPT_VERSION) |
||||
|
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.gz |
||||
|
LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt |
||||
|
|
||||
|
LIBGCRYPT_DEPENDENCIES = libgpg-error |
||||
|
|
||||
|
LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config |
||||
|
|
||||
|
LIBGCRYPT_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--enable-maintainer-mode \
|
||||
|
--enable-silent-rules \
|
||||
|
--enable-shared \
|
||||
|
--disable-static \
|
||||
|
--disable-tests |
||||
|
|
||||
|
define LIBGCRYPT_TARGET_CLEANUP |
||||
|
-rm $(addprefix $(TARGET_bindir)/,dumpsexp hmac256 mpicalc) |
||||
|
endef |
||||
|
LIBGCRYPT_TARGET_FINALIZE_HOOKS += LIBGCRYPT_TARGET_CLEANUP |
||||
|
|
||||
|
libgcrypt: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,21 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libgd
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBGD_VERSION = 2.2.5 |
||||
|
LIBGD_DIR = libgd-$(LIBGD_VERSION) |
||||
|
LIBGD_SOURCE = libgd-$(LIBGD_VERSION).tar.xz |
||||
|
LIBGD_SITE = https://github.com/libgd/libgd/releases/download/gd-$(LIBGD_VERSION) |
||||
|
|
||||
|
LIBGD_DEPENDENCIES = zlib libpng libjpeg-turbo freetype |
||||
|
|
||||
|
LIBGD_CONF_OPTS = \
|
||||
|
--bindir=$(REMOVE_bindir) \
|
||||
|
--without-fontconfig \
|
||||
|
--without-xpm \
|
||||
|
--without-x |
||||
|
|
||||
|
libgd: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,18 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libite
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBITE_VERSION = 2.0.2 |
||||
|
LIBITE_DIR = libite-$(LIBITE_VERSION) |
||||
|
LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz |
||||
|
LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) |
||||
|
|
||||
|
LIBITE_CONF_OPTS = \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--enable-static \
|
||||
|
--disable-shared |
||||
|
|
||||
|
libite: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,25 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libjpeg-turbo
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBJPEG_TURBO_VERSION = 2.0.6 |
||||
|
LIBJPEG_TURBO_DIR = libjpeg-turbo-$(LIBJPEG_TURBO_VERSION) |
||||
|
LIBJPEG_TURBO_SOURCE = libjpeg-turbo-$(LIBJPEG_TURBO_VERSION).tar.gz |
||||
|
LIBJPEG_TURBO_SITE = https://sourceforge.net/projects/libjpeg-turbo/files/$(LIBJPEG_TURBO_VERSION) |
||||
|
|
||||
|
$(DL_DIR)/$(LIBJPEG_TURBO_SOURCE): |
||||
|
$(download) $(LIBJPEG_TURBO_SITE)/$(LIBJPEG_TURBO_SOURCE) |
||||
|
|
||||
|
LIBJPEG_TURBO_CONF_OPTS = \
|
||||
|
-DWITH_SIMD=False \
|
||||
|
-DWITH_JPEG8=80 |
||||
|
|
||||
|
define LIBJPEG_TURBO_TARGET_CLEANUP |
||||
|
-rm $(addprefix $(TARGET_bindir)/,cjpeg djpeg jpegtran rdjpgcom tjbench wrjpgcom) |
||||
|
endef |
||||
|
LIBJPEG_TURBO_TARGET_FINALIZE_HOOKS += LIBJPEG_TURBO_TARGET_CLEANUP |
||||
|
|
||||
|
libjpeg-turbo: $(DL_DIR)/$(LIBJPEG_TURBO_SOURCE) | $(TARGET_DIR) |
||||
|
$(call cmake-package) |
@ -0,0 +1,21 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libmad
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBMAD_VERSION = 0.15.1b |
||||
|
LIBMAD_DIR = libmad-$(LIBMAD_VERSION) |
||||
|
LIBMAD_SOURCE = libmad-$(LIBMAD_VERSION).tar.gz |
||||
|
LIBMAD_SITE = https://sourceforge.net/projects/mad/files/libmad/$(LIBMAD_VERSION) |
||||
|
|
||||
|
LIBMAD_AUTORECONF = YES |
||||
|
|
||||
|
LIBMAD_CONF_OPTS = \
|
||||
|
--enable-shared=yes \
|
||||
|
--enable-accuracy \
|
||||
|
--enable-fpm=arm \
|
||||
|
--enable-sso |
||||
|
|
||||
|
libmad: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,17 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libogg
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBOGG_VERSION = 1.3.4 |
||||
|
LIBOGG_DIR = libogg-$(LIBOGG_VERSION) |
||||
|
LIBOGG_SOURCE = libogg-$(LIBOGG_VERSION).tar.gz |
||||
|
LIBOGG_SITE = http://downloads.xiph.org/releases/ogg |
||||
|
|
||||
|
LIBOGG_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--enable-shared |
||||
|
|
||||
|
libogg: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,26 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libpng
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBPNG_VERSION = 1.6.37 |
||||
|
LIBPNG_DIR = libpng-$(LIBPNG_VERSION) |
||||
|
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz |
||||
|
LIBPNG_SITE = https://sourceforge.net/projects/libpng/files/libpng16/$(LIBPNG_VERSION) |
||||
|
|
||||
|
LIBPNG_DEPENDENCIES = zlib |
||||
|
|
||||
|
LIBPNG_CONFIG_SCRIPTS = libpng16-config |
||||
|
|
||||
|
LIBPNG_CONF_OPTS = \
|
||||
|
--disable-static \
|
||||
|
$(if $(filter $(BOXSERIES),hd5x hd6x vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse),--enable-arm-neon,--disable-arm-neon) |
||||
|
|
||||
|
define LIBPNG_TARGET_CLEANUP |
||||
|
-rm $(addprefix $(TARGET_bindir)/,libpng-config) |
||||
|
endef |
||||
|
LIBPNG_TARGET_FINALIZE_HOOKS += LIBPNG_TARGET_CLEANUP |
||||
|
|
||||
|
libpng: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,16 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libroxml
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBROXML_VERSION = 3.0.2 |
||||
|
LIBROXML_DIR = libroxml-$(LIBROXML_VERSION) |
||||
|
LIBROXML_SOURCE = libroxml-$(LIBROXML_VERSION).tar.gz |
||||
|
LIBROXML_SITE = http://download.libroxml.net/pool/v3.x |
||||
|
|
||||
|
LIBROXML_CONF_OPTS = \
|
||||
|
--disable-roxml |
||||
|
|
||||
|
libroxml: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,26 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libtirpc
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBTIRPC_VERSION = 1.2.6 |
||||
|
LIBTIRPC_DIR = libtirpc-$(LIBTIRPC_VERSION) |
||||
|
LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2 |
||||
|
LIBTIRPC_SITE = https://sourceforge.net/projects/libtirpc/files/libtirpc/$(LIBTIRPC_VERSION) |
||||
|
|
||||
|
LIBTIRPC_AUTORECONF = YES |
||||
|
|
||||
|
LIBTIRPC_CONF_OPTS = \
|
||||
|
--disable-gssapi \
|
||||
|
--enable-silent-rules |
||||
|
|
||||
|
ifeq ($(BOXSERIES),hd1) |
||||
|
define LIBTIRPC_DISABLE_IPV6 |
||||
|
$(SED) '/^\(udp\|tcp\)6/ d' $(TARGET_sysconfdir)/netconfig |
||||
|
endef |
||||
|
LIBTIRPC_TARGET_FINALIZE_HOOKS += LIBTIRPC_DISABLE_IPV6 |
||||
|
endif |
||||
|
|
||||
|
libtirpc: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,17 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libupnp
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBUPNP_VERSION = 1.6.25 |
||||
|
LIBUPNP_DIR = libupnp-$(LIBUPNP_VERSION) |
||||
|
LIBUPNP_SOURCE = libupnp-$(LIBUPNP_VERSION).tar.bz2 |
||||
|
LIBUPNP_SITE = http://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%20$(LIBUPNP_VERSION) |
||||
|
|
||||
|
LIBUPNP_CONV_OPTS = \
|
||||
|
--enable-shared \
|
||||
|
--disable-static |
||||
|
|
||||
|
libupnp: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,17 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libusb-compat
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBUSB_COMPAT_VERSION = 0.1.7 |
||||
|
LIBUSB_COMPAT_DIR = libusb-compat-$(LIBUSB_COMPAT_VERSION) |
||||
|
LIBUSB_COMPAT_SOURCE = libusb-compat-$(LIBUSB_COMPAT_VERSION).tar.bz2 |
||||
|
LIBUSB_COMPAT_SITE = https://github.com/libusb/libusb-compat-0.1/releases/download/v$(LIBUSB_COMPAT_VERSION) |
||||
|
|
||||
|
LIBUSB_COMPAT_CONFIG_SCRIPTS = libusb-config |
||||
|
|
||||
|
LIBUSB_COMPAT_DEPENDENCIES = libusb |
||||
|
|
||||
|
libusb-compat: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,16 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libusb
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBUSB_VERSION = 1.0.23 |
||||
|
LIBUSB_DIR = libusb-$(LIBUSB_VERSION) |
||||
|
LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2 |
||||
|
LIBUSB_SITE = https://github.com/libusb/libusb/releases/download/v$(LIBUSB_VERSION) |
||||
|
|
||||
|
LIBUSB_CONF_OPTS = \
|
||||
|
--disable-udev |
||||
|
|
||||
|
libusb: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,23 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libvorbis
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBVORBIS_VERSION = 1.3.7 |
||||
|
LIBVORBIS_DIR = libvorbis-$(LIBVORBIS_VERSION) |
||||
|
LIBVORBIS_SOURCE = libvorbis-$(LIBVORBIS_VERSION).tar.xz |
||||
|
LIBVORBIS_SITE = https://downloads.xiph.org/releases/vorbis |
||||
|
|
||||
|
LIBVORBIS_DEPENDENCIES = libogg |
||||
|
|
||||
|
LIBVORBIS_AUTORECONF = YES |
||||
|
|
||||
|
LIBVORBIS_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--disable-docs \
|
||||
|
--disable-examples \
|
||||
|
--disable-oggtest |
||||
|
|
||||
|
libvorbis: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,35 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libxml2
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBXML2_VERSION = 2.9.10 |
||||
|
LIBXML2_DIR = libxml2-$(LIBXML2_VERSION) |
||||
|
LIBXML2_SOURCE = libxml2-$(LIBXML2_VERSION).tar.gz |
||||
|
LIBXML2_SITE = http://xmlsoft.org/sources |
||||
|
|
||||
|
LIBXML2_CONFIG_SCRIPTS = xml2-config |
||||
|
|
||||
|
LIBXML2_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--enable-shared \
|
||||
|
--disable-static \
|
||||
|
--without-python \
|
||||
|
--without-debug \
|
||||
|
--without-c14n \
|
||||
|
--without-legacy \
|
||||
|
--without-catalog \
|
||||
|
--without-docbook \
|
||||
|
--without-mem-debug \
|
||||
|
--without-lzma \
|
||||
|
--without-schematron |
||||
|
|
||||
|
define LIBXML2_TARGET_CLEANUP |
||||
|
-rm -r $(TARGET_libdir)/cmake |
||||
|
-rm $(addprefix $(TARGET_libdir)/,xml2Conf.sh) |
||||
|
endef |
||||
|
LIBXML2_TARGET_FINALIZE_HOOKS += LIBXML2_TARGET_CLEANUP |
||||
|
|
||||
|
libxml2: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,32 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libxslt
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBXSLT_VERSION = 1.1.34 |
||||
|
LIBXSLT_DIR = libxslt-$(LIBXSLT_VERSION) |
||||
|
LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.gz |
||||
|
LIBXSLT_SITE = ftp://xmlsoft.org/libxml2 |
||||
|
|
||||
|
LIBXSLT_DEPENDENCIES = libxml2 |
||||
|
|
||||
|
LIBXSLT_CONFIG_SCRIPTS = xslt-config |
||||
|
|
||||
|
LIBXSLT_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--enable-shared \
|
||||
|
--disable-static \
|
||||
|
--without-python \
|
||||
|
--without-crypto \
|
||||
|
--without-debug \
|
||||
|
--without-mem-debug |
||||
|
|
||||
|
define LIBXSLT_TARGET_CLEANUP |
||||
|
-rm -r $(TARGET_libdir)/libxslt-plugins/ |
||||
|
-rm $(addprefix $(TARGET_libdir)/,xsltConf.sh) |
||||
|
endef |
||||
|
LIBXSLT_TARGET_FINALIZE_HOOKS += LIBXSLT_TARGET_CLEANUP |
||||
|
|
||||
|
libxslt: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,16 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# lzo
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LZO_VERSION = 2.10 |
||||
|
LZO_DIR = lzo-$(LZO_VERSION) |
||||
|
LZO_SOURCE = lzo-$(LZO_VERSION).tar.gz |
||||
|
LZO_SITE = https://www.oberhumer.com/opensource/lzo/download |
||||
|
|
||||
|
LZO_CONF_OPTS = \
|
||||
|
--docdir=$(REMOVE_docdir) |
||||
|
|
||||
|
lzo: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,35 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# mc
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
MC_VERSION = 4.8.25 |
||||
|
MC_DIR = mc-$(MC_VERSION) |
||||
|
MC_SOURCE = mc-$(MC_VERSION).tar.xz |
||||
|
MC_SITE = ftp.midnight-commander.org |
||||
|
|
||||
|
MC_DEPENDENCIES = glib2 ncurses |
||||
|
|
||||
|
MC_AUTORECONF = YES |
||||
|
|
||||
|
MC_CONF_OPTS = \
|
||||
|
--disable-charset \
|
||||
|
--disable-nls \
|
||||
|
--disable-vfs-extfs \
|
||||
|
--disable-vfs-fish \
|
||||
|
--disable-vfs-sfs \
|
||||
|
--disable-vfs-sftp \
|
||||
|
--with-screen=ncurses \
|
||||
|
--without-diff-viewer \
|
||||
|
--without-gpm-mouse \
|
||||
|
--without-x |
||||
|
|
||||
|
define MC_TARGET_CLEANUP |
||||
|
-rm -r $(TARGET_datadir)/mc/examples |
||||
|
find $(TARGET_datadir)/mc/skins -type f ! -name default.ini | xargs --no-run-if-empty rm |
||||
|
endef |
||||
|
MC_TARGET_FINALIZE_HOOKS += MC_TARGET_CLEANUP |
||||
|
|
||||
|
mc: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,48 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# mtd-utils
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
MTD_UTILS_VERSION = 2.0.2 |
||||
|
MTD_UTILS_DIR = mtd-utils-$(MTD_UTILS_VERSION) |
||||
|
MTD_UTILS_SOURCE = mtd-utils-$(MTD_UTILS_VERSION).tar.bz2 |
||||
|
MTD_UTILS_SITE = ftp://ftp.infradead.org/pub/mtd-utils |
||||
|
|
||||
|
MTD_UTILS_DEPENDENCIES = |
||||
|
|
||||
|
MTD_UTILS_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--sbindir=$(base_sbindir).$(@F) \
|
||||
|
--mandir=$(REMOVE_mandir) \
|
||||
|
--disable-tests \
|
||||
|
--without-zstd \
|
||||
|
--without-ubifs \
|
||||
|
--without-xattr |
||||
|
|
||||
|
ifeq ($(BOXSERIES),hd2) |
||||
|
MTD_UTILS_DEPENDENCIES += zlib lzo |
||||
|
MTD_UTILS_CONF_OPTS += --with-jffs |
||||
|
else |
||||
|
MTD_UTILS_CONF_OPTS += --without-jffs |
||||
|
endif |
||||
|
|
||||
|
MTD_UTILS_SBINARIES = flash_erase flash_eraseall |
||||
|
ifeq ($(BOXSERIES),hd2) |
||||
|
MTD_UTILS_SBINARIES += nanddump nandtest nandwrite mkfs.jffs2 |
||||
|
endif |
||||
|
|
||||
|
define MTD_UTILS_INSTALL_BINARIES |
||||
|
for sbin in $(MTD_UTILS_SBINARIES); do \
|
||||
|
rm -f $(TARGET_sbindir)/$$sbin; \
|
||||
|
$(INSTALL_EXEC) -D $(TARGET_base_sbindir).$(@F)/$$sbin $(TARGET_base_sbindir)/$$sbin; \
|
||||
|
done |
||||
|
rm -r $(TARGET_base_sbindir).$(@F) |
||||
|
endef |
||||
|
MTD_UTILS_TARGET_FINALIZE_HOOKS += MTD_UTILS_INSTALL_BINARIES |
||||
|
|
||||
|
mtd-utils: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,58 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# nfs-utils
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
NFS_UTILS_VERSION = 2.2.1 |
||||
|
NFS_UTILS_DIR = nfs-utils-$(NFS_UTILS_VERSION) |
||||
|
NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz |
||||
|
NFS_UTILS_SITE = $(KERNEL_MIRROR)/linux/utils/nfs-utils/$(NFS_UTILS_VERSION) |
||||
|
|
||||
|
NFS_UTILS_DEPENDENCIES = rpcbind |
||||
|
|
||||
|
NFS_UTILS_AUTORECONF = YES |
||||
|
|
||||
|
NFS_UTILS_CONF_ENV = \
|
||||
|
knfsd_cv_bsd_signals=no |
||||
|
|
||||
|
NFS_UTILS_CONF_OPTS = \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--enable-maintainer-mode \
|
||||
|
$(if $(filter $(BOXSERIES),hd1),--disable-ipv6,--enable-ipv6) \
|
||||
|
--disable-nfsv4 \
|
||||
|
--disable-nfsv41 \
|
||||
|
--disable-gss \
|
||||
|
--disable-uuid \
|
||||
|
--without-tcp-wrappers \
|
||||
|
--with-statedir=/var/lib/nfs \
|
||||
|
--with-rpcgen=internal \
|
||||
|
--without-systemd |
||||
|
|
||||
|
define NFS_UTILS_TARGET_CLEANUP |
||||
|
chmod 0755 $(TARGET_base_sbindir)/mount.nfs |
||||
|
rm -f $(addprefix $(TARGET_base_sbindir)/,mount.nfs4 osd_login umount.nfs umount.nfs4) |
||||
|
rm -f $(addprefix $(TARGET_sbindir)/,mountstats nfsiostat) |
||||
|
endef |
||||
|
NFS_UTILS_TARGET_FINALIZE_HOOKS += NFS_UTILS_TARGET_CLEANUP |
||||
|
|
||||
|
ifeq ($(PERSISTENT_VAR_PARTITION),yes) |
||||
|
define NFS_UTILS_INSTALL_EXPORTS_FILE |
||||
|
$(INSTALL_DATA) -D $(PKG_FILES_DIR)/exports-var $(TARGET_localstatedir)/etc/exports |
||||
|
ln -sf /var/etc/exports $(TARGET_sysconfdir)/exports |
||||
|
endef |
||||
|
else |
||||
|
define NFS_UTILS_INSTALL_EXPORTS_FILE |
||||
|
$(INSTALL_DATA) -D $(PKG_FILES_DIR)/exports $(TARGET_sysconfdir)/exports |
||||
|
endef |
||||
|
endif |
||||
|
NFS_UTILS_TARGET_FINALIZE_HOOKS += NFS_UTILS_INSTALL_EXPORTS_FILE |
||||
|
|
||||
|
define NFS_UTILS_INSTALL_NFSD_INIT |
||||
|
$(INSTALL_EXEC) -D $(PKG_FILES_DIR)/nfsd.init $(TARGET_sysconfdir)/init.d/nfsd |
||||
|
$(UPDATE-RC.D) nfsd defaults 75 25 |
||||
|
endef |
||||
|
NFS_UTILS_TARGET_FINALIZE_HOOKS += NFS_UTILS_INSTALL_NFSD_INIT |
||||
|
|
||||
|
nfs-utils: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,37 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# ntfs-3g
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
NTFS_3G_VERSION = 2017.3.23 |
||||
|
NTFS_3G_DIR = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION) |
||||
|
NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz |
||||
|
NTFS_3G_SITE = https://tuxera.com/opensource |
||||
|
|
||||
|
NTFS_3G_DEPENDENCIES = libfuse |
||||
|
|
||||
|
NTFS_3G_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--disable-ntfsprogs \
|
||||
|
--disable-ldconfig \
|
||||
|
--disable-library \
|
||||
|
--with-fuse=external |
||||
|
|
||||
|
define NTFS_3G_TARGET_CLEANUP |
||||
|
-rm $(addprefix $(TARGET_base_bindir)/,lowntfs-3g ntfs-3g.probe) |
||||
|
-rm $(addprefix $(TARGET_base_sbindir)/,mount.lowntfs-3g) |
||||
|
endef |
||||
|
NTFS_3G_TARGET_FINALIZE_HOOKS += NTFS_3G_TARGET_CLEANUP |
||||
|
|
||||
|
define NTFS_3G_SYMLINK_MOUNT_NTFS |
||||
|
ln -sf $(base_bindir)/ntfs-3g $(TARGET_base_sbindir)/mount.ntfs |
||||
|
endef |
||||
|
NTFS_3G_TARGET_FINALIZE_HOOKS += NTFS_3G_SYMLINK_MOUNT_NTFS |
||||
|
|
||||
|
ntfs-3g: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,33 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# openvpn
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
OPENVPN_VERSION = 2.5.0 |
||||
|
OPENVPN_DIR = openvpn-$(OPENVPN_VERSION) |
||||
|
OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz |
||||
|
OPENVPN_SITE = http://build.openvpn.net/downloads/releases |
||||
|
|
||||
|
OPENVPN_DEPENDENCIES = lzo openssl |
||||
|
|
||||
|
OPENVPN_CONF_ENV = \
|
||||
|
NETSTAT="/bin/netstat" \
|
||||
|
IFCONFIG="/sbin/ifconfig" \
|
||||
|
IPROUTE="/sbin/ip" \
|
||||
|
ROUTE="/sbin/route" |
||||
|
|
||||
|
OPENVPN_CONF_OPTS = \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--infodir=$(REMOVE_infodir) \
|
||||
|
--enable-shared \
|
||||
|
--disable-static \
|
||||
|
--enable-small \
|
||||
|
--enable-management \
|
||||
|
--disable-debug \
|
||||
|
--disable-selinux \
|
||||
|
--disable-plugins \
|
||||
|
--disable-pkcs11 |
||||
|
|
||||
|
openvpn: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,31 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# parted
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
PARTED_VERSION = 3.2 |
||||
|
PARTED_DIR = parted-$(PARTED_VERSION) |
||||
|
PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz |
||||
|
PARTED_SITE = $(GNU_MIRROR)/parted |
||||
|
|
||||
|
PARTED_DEPENDENCIES = util-linux |
||||
|
|
||||
|
ifeq ($(BOXTYPE),$(filter $(BOXTYPE),armbox mipsbox)) |
||||
|
PARTED_DEPENDENCIES += libiconv |
||||
|
endif |
||||
|
|
||||
|
PARTED_AUTORECONF = YES |
||||
|
|
||||
|
PARTED_CONF_OPTS = \
|
||||
|
--infodir=$(REMOVE_infodir) \
|
||||
|
--enable-shared \
|
||||
|
--disable-static \
|
||||
|
--disable-debug \
|
||||
|
--disable-pc98 \
|
||||
|
--disable-nls \
|
||||
|
--disable-device-mapper \
|
||||
|
--without-readline |
||||
|
|
||||
|
parted: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,16 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# popt
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
POPT_VERSION = 1.16 |
||||
|
POPT_DIR = popt-$(POPT_VERSION) |
||||
|
POPT_SOURCE = popt-$(POPT_VERSION).tar.gz |
||||
|
POPT_SITE = ftp://anduin.linuxfromscratch.org/BLFS/popt |
||||
|
|
||||
|
POPT_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) |
||||
|
|
||||
|
popt: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,49 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# procps-ng
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
PROCPS_NG_VERSION = 3.3.16 |
||||
|
PROCPS_NG_DIR = procps-ng-$(PROCPS_NG_VERSION) |
||||
|
PROCPS_NG_SOURCE = procps-ng-$(PROCPS_NG_VERSION).tar.xz |
||||
|
PROCPS_NG_SITE = http://sourceforge.net/projects/procps-ng/files/Production |
||||
|
|
||||
|
PROCPS_NG_DEPENDENCIES = ncurses |
||||
|
|
||||
|
PROCPS_NG_AUTORECONF = YES |
||||
|
|
||||
|
PROCPS_NG_CONF_ENV = \
|
||||
|
ac_cv_func_malloc_0_nonnull=yes \
|
||||
|
ac_cv_func_realloc_0_nonnull=yes |
||||
|
|
||||
|
PROCPS_NG_CONF_OPTS = \
|
||||
|
--prefix=$(base_prefix) \
|
||||
|
--exec_prefix=$(base_prefix) \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--bindir=$(base_bindir).$(@F) \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--without-systemd |
||||
|
|
||||
|
PROCPS_NG_BINARIES = ps top |
||||
|
|
||||
|
define PROCPS_NG_INSTALL_BINARIES |
||||
|
for bin in $(PROCPS_NG_BINARIES); do \
|
||||
|
rm -f $(TARGET_base_bindir)/$$bin; \
|
||||
|
$(INSTALL_EXEC) -D $(TARGET_base_bindir).$(@F)/$$bin $(TARGET_base_bindir)/$$bin; \
|
||||
|
done |
||||
|
rm -r $(TARGET_base_bindir).$(@F) |
||||
|
endef |
||||
|
PROCPS_NG_TARGET_FINALIZE_HOOKS += PROCPS_NG_INSTALL_BINARIES |
||||
|
|
||||
|
define PROCPS_NG_INSTALL_SYSCTL_FILES |
||||
|
$(INSTALL_DATA) -D $(PKG_FILES_DIR)/sysctl.conf $(TARGET_sysconfdir)/sysctl.conf |
||||
|
$(INSTALL) -d $(TARGET_sysconfdir)/sysctl.d |
||||
|
$(INSTALL) -d $(TARGET_localstatedir)/etc/sysctl.d |
||||
|
$(INSTALL_EXEC) -D $(PKG_FILES_DIR)/sysctl.init $(TARGET_sysconfdir)/init.d/sysctl |
||||
|
endef |
||||
|
PROCPS_NG_TARGET_FINALIZE_HOOKS += PROCPS_NG_INSTALL_SYSCTL_FILES |
||||
|
|
||||
|
procps-ng: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,16 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# pugixml
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
PUGIXML_VERSION = 1.11.1 |
||||
|
PUGIXML_DIR = pugixml-$(PUGIXML_VERSION) |
||||
|
PUGIXML_SOURCE = pugixml-$(PUGIXML_VERSION).tar.gz |
||||
|
PUGIXML_SITE = https://github.com/zeux/pugixml/releases/download/v$(PUGIXML_VERSION) |
||||
|
|
||||
|
$(DL_DIR)/$(PUGIXML_SOURCE): |
||||
|
$(download) $(PUGIXML_SITE)/$(PUGIXML_SOURCE) |
||||
|
|
||||
|
pugixml: $(DL_DIR)/$(PUGIXML_SOURCE) | $(TARGET_DIR) |
||||
|
$(call cmake-package) |
@ -0,0 +1,27 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# rpcbind
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
RPCBIND_VERSION = 1.2.5 |
||||
|
RPCBIND_DIR = rpcbind-$(RPCBIND_VERSION) |
||||
|
RPCBIND_SOURCE = rpcbind-$(RPCBIND_VERSION).tar.bz2 |
||||
|
RPCBIND_SITE = https://sourceforge.net/projects/rpcbind/files/rpcbind/$(RPCBIND_VERSION) |
||||
|
|
||||
|
RPCBIND_DEPENDENCIES = libtirpc |
||||
|
|
||||
|
RPCBIND_AUTORECONF = YES |
||||
|
|
||||
|
RPCBIND_CONF_OPTS = \
|
||||
|
--enable-silent-rules \
|
||||
|
--with-rpcuser=root \
|
||||
|
--with-systemdsystemunitdir=no |
||||
|
|
||||
|
define RPCBIND_TARGET_CLEANUP |
||||
|
-rm $(TARGET_bindir)/rpcgen |
||||
|
endef |
||||
|
RPCBIND_TARGET_FINALIZE_HOOKS += RPCBIND_TARGET_CLEANUP |
||||
|
|
||||
|
rpcbind: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,22 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# rsync
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
RSYNC_VERSION = 3.1.3 |
||||
|
RSYNC_DIR = rsync-$(RSYNC_VERSION) |
||||
|
RSYNC_SOURCE = rsync-$(RSYNC_VERSION).tar.gz |
||||
|
RSYNC_SITE = https://download.samba.org/pub/rsync/src/ |
||||
|
|
||||
|
RSYNC_DEPENDENCIES = zlib popt |
||||
|
|
||||
|
RSYNC_CONF_OPTS = \
|
||||
|
--disable-debug \
|
||||
|
--disable-locale \
|
||||
|
--disable-acl-support \
|
||||
|
--with-included-zlib=no \
|
||||
|
--with-included-popt=no |
||||
|
|
||||
|
rsync: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,33 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# sg3_utils
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
SG3_UTILS_VERSION = 1.45 |
||||
|
SG3_UTILS_DIR = sg3_utils-$(SG3_UTILS_VERSION) |
||||
|
SG3_UTILS_SOURCE = sg3_utils-$(SG3_UTILS_VERSION).tar.xz |
||||
|
SG3_UTILS_SITE = http://sg.danny.cz/sg/p |
||||
|
|
||||
|
SG3_UTILS_CONF_OPTS = \
|
||||
|
--bindir=$(bindir).$(@F) |
||||
|
|
||||
|
SG3_UTILS_BINARIES = sg_start |
||||
|
|
||||
|
define SG3_UTILS_INSTALL_BINARIES |
||||
|
for bin in $(SG3_UTILS_BINARIES); do \
|
||||
|
rm -f $(TARGET_bindir)/$$bin; \
|
||||
|
$(INSTALL_EXEC) -D $(TARGET_bindir).$(@F)/$$bin $(TARGET_bindir)/$$bin; \
|
||||
|
done |
||||
|
rm -r $(TARGET_bindir).$(@F) |
||||
|
endef |
||||
|
SG3_UTILS_TARGET_FINALIZE_HOOKS += SG3_UTILS_INSTALL_BINARIES |
||||
|
|
||||
|
define SG3_UTILS_INSTALL_SDX_INIT |
||||
|
$(INSTALL_EXEC) -D $(PKG_FILES_DIR)/sdX.init $(TARGET_sysconfdir)/init.d/sdX |
||||
|
$(UPDATE-RC.D) sdX stop 97 0 6 . |
||||
|
endef |
||||
|
SG3_UTILS_TARGET_FINALIZE_HOOKS += SG3_UTILS_INSTALL_SDX_INIT |
||||
|
|
||||
|
sg3_utils: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,16 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# sqlite
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
SQLITE_VERSION = 3330000 |
||||
|
SQLITE_DIR = sqlite-autoconf-$(SQLITE_VERSION) |
||||
|
SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_VERSION).tar.gz |
||||
|
SQLITE_SITE = http://www.sqlite.org/2020 |
||||
|
|
||||
|
SQLITE_CONF_OPTS = \
|
||||
|
--bindir=$(REMOVE_bindir) |
||||
|
|
||||
|
sqlite: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,52 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# util-linux
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
UTIL_LINUX_VERSION = 2.36.2 |
||||
|
UTIL_LINUX_DIR = util-linux-$(UTIL_LINUX_VERSION) |
||||
|
UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz |
||||
|
UTIL_LINUX_SITE = $(KERNEL_MIRROR)/linux/utils/util-linux/v$(basename $(UTIL_LINUX_VERSION)) |
||||
|
|
||||
|
UTIL_LINUX_DEPENDENCIES = ncurses zlib |
||||
|
|
||||
|
UTIL_LINUX_AUTORECONF = YES |
||||
|
|
||||
|
UTIL_LINUX_CONF_OPTS = \
|
||||
|
--includedir=$(includedir) \
|
||||
|
--libdir=$(libdir) \
|
||||
|
--runstatedir=$(runstatedir) \
|
||||
|
--localedir=$(REMOVE_localedir) \
|
||||
|
--docdir=$(REMOVE_docdir) \
|
||||
|
--disable-gtk-doc \
|
||||
|
\
|
||||
|
--disable-all-programs \
|
||||
|
\
|
||||
|
--enable-libfdisk \
|
||||
|
--enable-libsmartcols \
|
||||
|
--enable-libuuid \
|
||||
|
--enable-libblkid \
|
||||
|
--enable-libmount \
|
||||
|
\
|
||||
|
--disable-makeinstall-chown \
|
||||
|
--disable-makeinstall-setuid \
|
||||
|
--disable-makeinstall-chown \
|
||||
|
\
|
||||
|
--without-audit \
|
||||
|
--without-cap-ng \
|
||||
|
--without-btrfs \
|
||||
|
--without-ncursesw \
|
||||
|
--without-python \
|
||||
|
--without-readline \
|
||||
|
--without-slang \
|
||||
|
--without-smack \
|
||||
|
--without-libmagic \
|
||||
|
--without-systemd \
|
||||
|
--without-systemdsystemunitdir \
|
||||
|
--without-tinfo \
|
||||
|
--without-udev \
|
||||
|
--without-utempter |
||||
|
|
||||
|
util-linux: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,23 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# wget
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
WGET_VERSION = 1.20.3 |
||||
|
WGET_DIR = wget-$(WGET_VERSION) |
||||
|
WGET_SOURCE = wget-$(WGET_VERSION).tar.gz |
||||
|
WGET_SITE = $(GNU_MIRROR)/wget |
||||
|
|
||||
|
WGET_DEPENDENCIES = openssl |
||||
|
|
||||
|
WGET_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--sysconfdir=$(REMOVE_sysconfdir) \
|
||||
|
--with-gnu-ld \
|
||||
|
--with-ssl=openssl \
|
||||
|
--disable-debug \
|
||||
|
CFLAGS="$(TARGET_CFLAGS) -DOPENSSL_NO_ENGINE" |
||||
|
|
||||
|
wget: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
Loading…
Reference in new issue