blob: 0629c0f648bd382cb6d277b9efbf87bcbf2959ab [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "A collection of powerful tools for manipulating EPROM load files."
2SECTION = "devel"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-3.0-or-later & LGPL-3.0-or-later"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05004LIC_FILES_CHKSUM = "file://LICENSE;md5=8dfcbf2f0a144b97f0931b6394debea7"
5
6SRC_URI = " \
7 http://srecord.sourceforge.net/srecord-${PV}.tar.gz \
8 file://add-option-to-remove-docs.patch \
Andrew Geissler595f6302022-01-24 19:11:47 +00009 file://libtool.patch \
Andrew Geissler87f5cff2022-09-30 13:13:31 -050010 file://0001-configure-Fix-AC_CHECK_LIB-test-for-gpg-error.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011"
12
13SRC_URI[md5sum] = "4de4a7497472d7972645c2af91313769"
14SRC_URI[sha256sum] = "49a4418733c508c03ad79a29e95acec9a2fbc4c7306131d2a8f5ef32012e67e2"
15
Andrew Geissler82c905d2020-04-13 13:39:40 -050016UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/srecord/files/releases"
17
Andrew Geissler595f6302022-01-24 19:11:47 +000018DEPENDS = "boost groff-native"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019
20inherit autotools-brokensep
21
Andrew Geissler595f6302022-01-24 19:11:47 +000022do_configure:prepend() {
23 # To autoreconf we need the script in ${S}, we can't tell autotools to use
24 # etc/ because then it can't find the Makefile.in
Patrick Williamsde0582f2022-04-08 10:23:27 -050025 ln -sf ${S}/etc/configure.ac ${S}
Andrew Geissler595f6302022-01-24 19:11:47 +000026}
27
28PACKAGECONFIG ??= "gcrypt"
29PACKAGECONFIG[gcrypt] = "--with-gcrypt,--without-gcrypt,libgcrypt"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030
31# Set variable WITHOUT_DOC=0 to enable documentation generation
32EXTRA_OEMAKE = "WITHOUT_DOC=1"
33
34BBCLASSEXTEND = "native"