aboutsummaryrefslogtreecommitdiffstats
path: root/automake/automake_1.9.2.oe
blob: bfa23994c6843428dfb260ea5890b6dd04318396 (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
DESCRIPTION = "A tool for automatically generating Makefiles."
LICENSE = "GPL"
HOMEPAGE = "http://www.gnu.org/software/automake/"
SECTION = "devel"
PR = "r2"

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

DEFAULT_PREFERENCE = "-1"

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.9 ${D}/${datadir}/aclocal
	fi
	if [ ! -e ${D}/${datadir}/automake ]; then
		ln -sf automake-1.9 ${D}/${datadir}/automake
	fi
}