git-svn-id: https://svn.o-hand.com/repos/poky/trunk@917 311d38ba-8fff-0310-9ca6-ca027cbcb966
17 lines
537 B
BlitzBasic
17 lines
537 B
BlitzBasic
SECTION = "base"
|
|
require gnu-config_${PV}.bb
|
|
|
|
inherit native
|
|
|
|
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gnu-config"
|
|
|
|
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/
|
|
}
|