7b0e757fb8
The recommended form is without the trailing slash, and will become mandatory in a coming commit. This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk to avoid double slashes in download URLs, like "https://mosh.mit.edu//mosh-1.2.5.tar.gz". ^^ Note: this work has already been done inb0b9606530
a few months ago and earlier inc7f4b96471
and4a9eb20de8
, but no check has been added at that time to avoid new slashes to slip in, and so they did. This time a patch will follow immediately to prevent future mistakes from being unnoticed. Mass-replaced with the following command: git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||' Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# openipmi
|
|
#
|
|
################################################################################
|
|
|
|
OPENIPMI_VERSION = 2.0.21
|
|
OPENIPMI_SITE = http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library
|
|
OPENIPMI_SOURCE = OpenIPMI-2.0.21.tar.gz
|
|
OPENIPMI_LICENSE = LGPLv2+, GPLv2+, BSD-3c
|
|
OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD
|
|
OPENIPMI_DEPENDENCIES = popt ncurses host-pkgconf
|
|
# Patching Makefile.am
|
|
OPENIPMI_AUTORECONF = YES
|
|
OPENIPMI_CONF_ENV = ac_cv_path_pkgprog="$(PKG_CONFIG_HOST_BINARY)"
|
|
OPENIPMI_CONF_OPTS = \
|
|
--with-glib=no \
|
|
--with-glib12=no \
|
|
--with-tcl=no \
|
|
--with-perl=no \
|
|
--with-python=no \
|
|
--with-swig=no
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
OPENIPMI_DEPENDENCIES += openssl
|
|
OPENIPMI_CONF_OPTS += --with-openssl=yes
|
|
else
|
|
OPENIPMI_CONF_OPTS += --with-openssl=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_NETSNMP),y)
|
|
OPENIPMI_DEPENDENCIES += netsnmp
|
|
OPENIPMI_CONF_OPTS += --with-ucdsnmp=yes
|
|
else
|
|
OPENIPMI_CONF_OPTS += --with-ucdsnmp=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|