Files
buildroot/package/argp-standalone/argp-standalone.mk
Fabrice Fontaine 0fe85041bc package/argp-standalone: bump to version 1.4.1
- Switch site to an up-to-date fork
- Drop first and second patches (not needed since:
  c474ac2af7
  8069113599
- Drop third patch (not needed since:
  e7ff8d9787)
- License is LGPL-2.1+ since
  c474ac2af7
- README.md can be used as the license file since
  da0206414d
- This bump will also fix the following build failure with
  BR2_OPTIMIZE_0 thanks to
  e7ff8d9787:

  /nvmedata/autobuild/instance-27/output-1/host/lib/gcc/microblaze-buildroot-linux-uclibc/10.3.0/../../../../microblaze-buildroot-linux-uclibc/bin/ld: libargp.a(argp-help.o): in function `indent_to':
  /nvmedata/autobuild/instance-27/output-1/build/argp-standalone-1.3/argp-help.c:930: undefined reference to `argp_fmtstream_point'

Fixes:
 - http://autobuild.buildroot.org/results/8e2cd69356f40bae534847ad58f4aa0dabb4c791

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-23 18:15:27 +02:00

30 lines
928 B
Makefile

################################################################################
#
# argp-standalone
#
################################################################################
ARGP_STANDALONE_VERSION = 1.4.1
ARGP_STANDALONE_SITE = \
$(call github,ericonr,argp-standalone,$(ARGP_STANDALONE_VERSION))
ARGP_STANDALONE_INSTALL_STAGING = YES
ARGP_STANDALONE_LICENSE = LGPL-2.1+
ARGP_STANDALONE_LICENSE_FILES = README.md
# From git
ARGP_STANDALONE_AUTORECONF = YES
ARGP_STANDALONE_CONF_ENV = \
CFLAGS="$(TARGET_CFLAGS) -fPIC -fgnu89-inline"
define ARGP_STANDALONE_INSTALL_STAGING_CMDS
$(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a
$(INSTALL) -D $(@D)/argp.h $(STAGING_DIR)/usr/include/argp.h
endef
define ARGP_STANDALONE_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/libargp.a $(TARGET_DIR)/usr/lib/libargp.a
$(INSTALL) -D $(@D)/argp.h $(TARGET_DIR)/usr/include/argp.h
endef
$(eval $(autotools-package))