summaryrefslogtreecommitdiffstats
path: root/meta/packages/gnu-config/gnu-config-native_20050701.bb
blob: 256a8af3e805af2a71905d67d7acbec426bd3b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require gnu-config_${PV}.bb
inherit native

do_stage () {
	install -d ${STAGING_DATADIR}/gnu-config/
	install -d ${STAGING_BINDIR}/
	cat ${WORKDIR}/gnu-configize.in | \
		sed -e 's,@gnu-configdir@,${STAGING_DATADIR}/gnu-config,' \
		    -e 's,@autom4te_perllibdir@,${STAGING_DATADIR}/autoconf,' > ${STAGING_BINDIR}/gnu-configize
	chmod 755 ${STAGING_BINDIR}/gnu-configize
	install -m 0644 config.guess config.sub ${STAGING_DATADIR}/gnu-config/
}