new package:

- add package autoconf
This commit is contained in:
Stephan Raue 2010-06-06 00:16:43 +02:00
parent d2f0ed1e9e
commit d6a317ba2c
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,43 @@
#!/bin/sh
. config/options
$SCRIPTS/build m4
$SCRIPTS/build libtool
# build for host
setup_toolchain host
cd $BUILD/$1*
mkdir -p .objdir-host
cd .objdir-host
EMACS="no" \
ac_cv_path_M4=$ROOT/$TOOLCHAIN/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no \
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
make
make install
cd $ROOT
# build for target
setup_toolchain target
cd $BUILD/$1*
mkdir -p .objdir-target
cd .objdir-target
EMACS="no" \
ac_cv_path_M4=$ROOT/$TOOLCHAIN/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no \
../configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=$SYSROOT_PREFIX/usr \
make
make install

View File

@ -0,0 +1 @@
http://ftp.gnu.org/gnu/autoconf/autoconf-2.65.tar.bz2