blob: 1254bc89b48b769ca8a0f7d7448cf2e2924b8280 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001SUMMARY = "Fake version of the texinfo utility suite"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002SECTION = "console/utils"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d6bb62e73ca8b901d3f2e9d71542f4bb"
5DEPENDS = ""
6PV = "1.0"
7
8SRC_URI = "file://template.py file://COPYING"
9
10S = "${WORKDIR}"
11
12NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
13
14inherit native
15
16do_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
23do_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}