summaryrefslogtreecommitdiff
path: root/automake/automake_1.8.2.oe
blob: ae5117d3d9025bc439f36065a41a6c712835b5eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 \
	   file://${FILESDIR}/automake182-update-configscripts.patch;patch=1;pnum=1"
DESCRIPTION = "A tool for automatically generating Makefiles."

FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/automake-${PV}"

inherit autotools

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