summaryrefslogtreecommitdiff
path: root/gawk/gawk_3.0.4.oe
blob: 9cd95ec7eb630257f94f48dd18925e231f0b0016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEPENDS = virtual/libc
RDEPENDS = libc6

SRC_URI = ${GNU_MIRROR}/${PN}/${P}.tar.gz \
	  file://${FILESDIR}/configure.patch;patch=1

inherit autotools

EXTRA_OEMAKE = "'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}/man1' 'infodir=${D}/${datadir}/info' \
		'libexecdir=${D}/${libexecdir}' 'datadir=${D}/${datadir}/awk'"

do_configure_prepend () {
	mv aclocal.m4 acinclude.m4
}

do_install_append () {
	rm -f ${D}/${bindir}/gawk-*
}

FILES_gawk_append = " ${datadir}/awk"