Browse Source

- move more autotools-packages to package dir

master
vanhofen 4 years ago
parent
commit
060cb25352
  1. 47
      make/target-tools.mk
  2. 26
      package/minicom/minicom.mk
  3. 28
      package/smartmontools/smartmontools.mk

47
make/target-tools.mk

@ -542,27 +542,6 @@ ushare: $(USHARE_DEPENDENCIES) $(DL_DIR)/$(USHARE_SOURCE) | $(TARGET_DIR)
# -----------------------------------------------------------------------------
SMARTMONTOOLS_VERSION = 7.1
SMARTMONTOOLS_DIR = smartmontools-$(SMARTMONTOOLS_VERSION)
SMARTMONTOOLS_SOURCE = smartmontools-$(SMARTMONTOOLS_VERSION).tar.gz
SMARTMONTOOLS_SITE = https://sourceforge.net/projects/smartmontools/files/smartmontools/$(SMARTMONTOOLS_VERSION)
$(DL_DIR)/$(SMARTMONTOOLS_SOURCE):
$(download) $(SMARTMONTOOLS_SITE)/$(SMARTMONTOOLS_SOURCE)
smartmontools: $(DL_DIR)/$(SMARTMONTOOLS_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(PKG_DIR)
$(UNTAR)/$(PKG_SOURCE)
$(CHDIR)/$(PKG_DIR); \
$(APPLY_PATCHES); \
$(CONFIGURE); \
$(MAKE); \
$(INSTALL_EXEC) -D smartctl $(TARGET_sbindir)/smartctl
$(REMOVE)/$(PKG_DIR)
$(TOUCH)
# -----------------------------------------------------------------------------
VSFTPD_VERSION = 3.0.3
VSFTPD_DIR = vsftpd-$(VSFTPD_VERSION)
VSFTPD_SOURCE = vsftpd-$(VSFTPD_VERSION).tar.gz
@ -630,32 +609,6 @@ nano: $(NANO_DEPENDENCIES) $(DL_DIR)/$(NANO_SOURCE) | $(TARGET_DIR)
# -----------------------------------------------------------------------------
MINICOM_VERSION = 2.7.1
MINICOM_DIR = minicom-$(MINICOM_VERSION)
MINICOM_SOURCE = minicom-$(MINICOM_VERSION).tar.gz
MINICOM_SITE = http://fossies.org/linux/misc
$(DL_DIR)/$(MINICOM_SOURCE):
$(download) $(MINICOM_SITE)/$(MINICOM_SOURCE)
MINICOM_DEPENDENCIES = ncurses
MINICOM_CONF_OPTS = \
--disable-nls
minicom: $(MINICOM_DEPENDENCIES) $(DL_DIR)/$(MINICOM_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(PKG_DIR)
$(UNTAR)/$(PKG_SOURCE)
$(CHDIR)/$(PKG_DIR); \
$(APPLY_PATCHES); \
$(CONFIGURE); \
$(MAKE); \
$(INSTALL_EXEC) src/minicom $(TARGET_bindir)
$(REMOVE)/$(PKG_DIR)
$(TOUCH)
# -----------------------------------------------------------------------------
AUTOFS_VERSION = 5.1.6
AUTOFS_DIR = autofs-$(AUTOFS_VERSION)
AUTOFS_SOURCE = autofs-$(AUTOFS_VERSION).tar.xz

26
package/minicom/minicom.mk

@ -0,0 +1,26 @@
################################################################################
#
# minicom
#
################################################################################
MINICOM_VERSION = 2.7.1
MINICOM_DIR = minicom-$(MINICOM_VERSION)
MINICOM_SOURCE = minicom-$(MINICOM_VERSION).tar.gz
MINICOM_SITE = http://fossies.org/linux/misc
$(DL_DIR)/$(MINICOM_SOURCE):
$(download) $(MINICOM_SITE)/$(MINICOM_SOURCE)
MINICOM_DEPENDENCIES = ncurses
MINICOM_CONF_OPTS = \
--disable-nls
define MINICOM_TARGET_CLEANUP
$(TARGET_RM) $(addprefix $(TARGET_bindir)/,ascii-xfr runscript xminicom)
endef
MINICOM_TARGET_FINALIZE_HOOKS += MINICOM_TARGET_CLEANUP
minicom: | $(TARGET_DIR)
$(call autotools-package)

28
package/smartmontools/smartmontools.mk

@ -0,0 +1,28 @@
################################################################################
#
# smartmontools
#
################################################################################
SMARTMONTOOLS_VERSION = 7.1
SMARTMONTOOLS_DIR = smartmontools-$(SMARTMONTOOLS_VERSION)
SMARTMONTOOLS_SOURCE = smartmontools-$(SMARTMONTOOLS_VERSION).tar.gz
SMARTMONTOOLS_SITE = https://sourceforge.net/projects/smartmontools/files/smartmontools/$(SMARTMONTOOLS_VERSION)
SMARTMONTOOLS_CONF_OPTS = \
--docdir=$(REMOVE_docdir) \
--with-drivedbdir=no \
--with-initscriptdir=no \
--with-smartdplugindir=no \
--with-smartdscriptdir=$(REMOVE_sysconfdir) \
--with-update-smart-drivedb=no \
--without-gnupg
define SMARTMONTOOLS_TARGET_CLEANUP
$(TARGET_RM) $(TARGET_sysconfdir)/smartd.conf
$(TARGET_RM) $(TARGET_sbindir)/smartd
endef
SMARTMONTOOLS_TARGET_FINALIZE_HOOKS += SMARTMONTOOLS_TARGET_CLEANUP
smartmontools: | $(TARGET_DIR)
$(call autotools-package)
Loading…
Cancel
Save