From f814eea15a4744d68092203a5fd5aa264c848884 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 28 Sep 2011 01:26:10 +0200 Subject: [PATCH] new package: add package 'autoconf-archive' Signed-off-by: Stephan Raue --- .../devel/autotools/autoconf-archive/build | 36 +++++++++++++++++++ .../devel/autotools/autoconf-archive/meta | 36 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100755 packages/toolchain/devel/autotools/autoconf-archive/build create mode 100644 packages/toolchain/devel/autotools/autoconf-archive/meta diff --git a/packages/toolchain/devel/autotools/autoconf-archive/build b/packages/toolchain/devel/autotools/autoconf-archive/build new file mode 100755 index 0000000000..0546c63078 --- /dev/null +++ b/packages/toolchain/devel/autotools/autoconf-archive/build @@ -0,0 +1,36 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +setup_toolchain host + +cd $PKG_BUILD + +./configure --host=$HOST_NAME \ + --build=$HOST_NAME \ + --target=$TARGET_NAME \ + --prefix=$ROOT/$TOOLCHAIN \ + +make +# make install +make prefix=$SYSROOT_PREFIX/usr install diff --git a/packages/toolchain/devel/autotools/autoconf-archive/meta b/packages/toolchain/devel/autotools/autoconf-archive/meta new file mode 100644 index 0000000000..ac656dd7ee --- /dev/null +++ b/packages/toolchain/devel/autotools/autoconf-archive/meta @@ -0,0 +1,36 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="autoconf-archive" +PKG_VERSION="2011.09.17" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://ftp.gnu.org/gnu/autoconf-archive" +PKG_URL="http://ftp.gnu.org/gnu/autoconf-archive/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="ccache" +PKG_PRIORITY="optional" +PKG_SECTION="toolchain/devel" +PKG_SHORTDESC="autoconf-archive: macros for autoconf" +PKG_LONGDESC="autoconf-archive is an package of m4 macros" +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"