summaryrefslogtreecommitdiff
path: root/packages/automake/automake_1.8.2.bb
blob: 0dc13d32dd4c48d7b02afd5f7805f69861e7e395 (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
SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 \
	   file://automake182-update-configscripts.patch;patch=1;pnum=1 \
	${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
DESCRIPTION = "A tool for automatically generating Makefiles."
SECTION = "devel"
LICENSE = "GPL"
FILE_PR = "r7"

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

inherit autotools

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

require automake.inc

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
}