new package: add package 'autoconf-2.68'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-01-16 17:34:56 +01:00
parent f5d4937ada
commit b99509a511
2 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,52 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
setup_toolchain host
cd $BUILD/$PKG_NAME
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 \
--program-suffix="-2.68" \
make install \
prefix=$ROOT/$TOOLCHAIN \
pkgdatadir=$ROOT/$TOOLCHAIN/share/$PKG_NAME \
pkgdatadir=$ROOT/$TOOLCHAIN/lib/$PKG_NAME \
pkgdatadir=$ROOT/$TOOLCHAIN/include/$PKG_NAME \
install
make clean
make install \
prefix=$SYSROOT_PREFIX/usr \
pkgdatadir=$SYSROOT_PREFIX/usr/share/$PKG_NAME \
pkgdatadir=$SYSROOT_PREFIX/usr/lib/$PKG_NAME \
pkgdatadir=$SYSROOT_PREFIX/usr/include/$PKG_NAME \
install

View File

@ -0,0 +1,36 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="autoconf-2.68"
PKG_VERSION=""
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://sources.redhat.com/autoconf/"
PKG_URL="http://ftp.gnu.org/gnu/autoconf/$PKG_NAME.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="ccache m4"
PKG_PRIORITY="optional"
PKG_SECTION="toolchain/devel"
PKG_SHORTDESC="autoconf: A GNU tool for automatically configuring source code"
PKG_LONGDESC="Autoconf is an extensible package of m4 macros that produce shell scripts to automatically configure software source code packages. These scripts can adapt the packages to many kinds of UNIX-like systems without manual user intervention. Autoconf creates a configuration script for a package from a template file that lists the operating system features that the package can use, in the form of m4 macro calls."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"