Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | SUMMARY = "A recursive directory listing command" |
| 2 | HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" |
| 3 | SECTION = "console/utils" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 4 | LICENSE = "GPL-2.0-only" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" |
| 6 | |
| 7 | SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/${BP}.tgz" |
| 8 | SRC_URI[sha256sum] = "7d693a1d88d3c4e70a73e03b8dbbdc12c2945d482647494f2f5bd83a479eeeaf" |
| 9 | |
| 10 | # tree's default CFLAGS for Linux |
| 11 | CFLAGS += "-Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" |
| 12 | |
| 13 | EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" |
| 14 | |
| 15 | do_configure[noexec] = "1" |
| 16 | |
| 17 | do_install() { |
| 18 | install -d ${D}${bindir} |
| 19 | install -m 0755 ${S}/${BPN} ${D}${bindir}/ |
| 20 | } |