Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "Fake version of the texinfo utility suite" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | SECTION = "console/utils" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d6bb62e73ca8b901d3f2e9d71542f4bb" |
| 5 | DEPENDS = "" |
| 6 | PV = "1.0" |
| 7 | |
| 8 | SRC_URI = "file://template.py file://COPYING" |
| 9 | |
| 10 | S = "${WORKDIR}" |
| 11 | |
| 12 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" |
| 13 | |
| 14 | inherit native |
| 15 | |
| 16 | do_install_name() { |
| 17 | FILENAME="${D}${bindir}/$1" |
| 18 | # Using ln causes problems with rm_work |
| 19 | cp -T "${S}/template.py" "$FILENAME" |
| 20 | chmod +x $FILENAME |
| 21 | } |
| 22 | |
| 23 | do_install() { |
| 24 | mkdir -p "${D}${bindir}" |
| 25 | for i in makeinfo pod2texi texi2dvi pdftexi2dvi texindex texi2pdf \ |
| 26 | txixml2texi texi2any install-info ginstall-info \ |
| 27 | update-info-dir; do |
| 28 | do_install_name $i |
| 29 | done |
| 30 | } |