Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "A collection of powerful tools for manipulating EPROM load files." |
| 2 | SECTION = "devel" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 3 | LICENSE = "GPL-3.0-or-later & LGPL-3.0-or-later" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8dfcbf2f0a144b97f0931b6394debea7" |
| 5 | |
| 6 | SRC_URI = " \ |
| 7 | http://srecord.sourceforge.net/srecord-${PV}.tar.gz \ |
| 8 | file://add-option-to-remove-docs.patch \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 9 | file://libtool.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | " |
| 11 | |
| 12 | SRC_URI[md5sum] = "4de4a7497472d7972645c2af91313769" |
| 13 | SRC_URI[sha256sum] = "49a4418733c508c03ad79a29e95acec9a2fbc4c7306131d2a8f5ef32012e67e2" |
| 14 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/srecord/files/releases" |
| 16 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 17 | DEPENDS = "boost groff-native" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | |
| 19 | inherit autotools-brokensep |
| 20 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 21 | do_configure:prepend() { |
| 22 | # To autoreconf we need the script in ${S}, we can't tell autotools to use |
| 23 | # etc/ because then it can't find the Makefile.in |
| 24 | ln -s ${S}/etc/configure.ac ${S} |
| 25 | } |
| 26 | |
| 27 | PACKAGECONFIG ??= "gcrypt" |
| 28 | PACKAGECONFIG[gcrypt] = "--with-gcrypt,--without-gcrypt,libgcrypt" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 29 | |
| 30 | # Set variable WITHOUT_DOC=0 to enable documentation generation |
| 31 | EXTRA_OEMAKE = "WITHOUT_DOC=1" |
| 32 | |
| 33 | BBCLASSEXTEND = "native" |