Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 1 | SUMMARY = "Lightweight and minimal dumb-terminal emulation program" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 2 | SECTION = "console/utils" |
| 3 | LICENSE = "GPLv2+" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 4 | HOMEPAGE = "https://github.com/npat-efault/picocom" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000e4830620e310fe65c0eb69df9e8a" |
| 6 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 7 | BASEPV = "3.1" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | PV = "${BASEPV}+git${SRCPV}" |
| 9 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 10 | SRCREV = "90385aabe2b51f39fa130627d46b377569f82d4a" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 12 | SRC_URI = "git://github.com/npat-efault/picocom \ |
| 13 | file://0001-Fix-building-with-musl.patch \ |
| 14 | " |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | EXTRA_OEMAKE = "'CC=${CC}' 'LD=${CC}' 'VERSION=${BASEPV}' \ |
| 19 | 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}' " |
| 20 | |
| 21 | do_install () { |
| 22 | install -d ${D}${bindir} |
| 23 | install -m 0755 ${BPN} pcasc pcxm pcym pczm ${D}${bindir}/ |
| 24 | } |
| 25 | |