summaryrefslogtreecommitdiff
path: root/automake/automake_1.7.7.oe
blob: 447b1b9a9bc1141dcb94896e8e8b051dc8954a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2"
DESCRIPTION = "A tool for automatically generating Makefiles."
SECTION = "devel"
LICENSE = "GPL"
PR = "r2"
inherit autotools

FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
RDEPENDS_${PN} += "perl"

do_install () {
	oe_runmake 'DESTDIR=${D}' install
	install -d ${D}/${datadir}
	if [ ! -e ${D}/${datadir}/aclocal ]; then
		ln -sf aclocal-1.7 ${D}/${datadir}/aclocal
	fi
	if [ ! -e ${D}/${datadir}/automake ]; then
		ln -sf automake-1.7 ${D}/${datadir}/automake
	fi
}