summaryrefslogtreecommitdiff
path: root/packages/tmake/tmake_1.11.bb
blob: 23147a98c71912339d46d670a49d2bd2cc58749d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SRC_URI = "ftp://ftp.trolltech.com/pub/freebies/tmake/tmake-${PV}.tar.gz"
DESCRIPTION = "tmake is an easy-to-use tool for creating and maintaining makefiles across many platforms and compilers."
LICENSE = "Unknown"
DEPENDS = ""
SECTION = "devel"
PRIORITY = "optional"

S = "${WORKDIR}/tmake-${PV}"

do_stage() {
	install -m 0755 bin/tmake bin/progen ${STAGING_BINDIR}/

	install -d ${STAGING_DATADIR}/tmake
	cp -R lib/* ${STAGING_DATADIR}/tmake/
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 bin/tmake bin/progen ${D}${bindir}/

	install -d ${D}${datadir}/tmake
	cp -R lib/* ${D}${datadir}/tmake/
}

PACKAGES = "tmake"
FILES = ""
FILES_tmake="${bindir} ${datadir}/tmake"