configtools: move configtools to packages

This commit is contained in:
Stefan Saraev 2016-04-06 15:11:53 -07:00 committed by Lukas Rusak
parent 3a449fb820
commit c93ed64b82
6 changed files with 42 additions and 3369 deletions

View File

@ -0,0 +1,34 @@
################################################################################
# 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 of the License, 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 this program. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="configtools"
PKG_VERSION="706fbe5"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://git.savannah.gnu.org/cgit/config.git"
PKG_URL="http://git.savannah.gnu.org/cgit/config.git/snapshot/$PKG_VERSION.tar.xz"
PKG_SOURCE_DIR="$PKG_VERSION*"
PKG_DEPENDS_HOST=""
PKG_SHORTDESC="configtools"
PKG_LONGDESC="configtools"
make_host() {
:
}
makeinstall_host() {
mkdir -p $ROOT/$TOOLCHAIN/configtools
cp config.* $ROOT/$TOOLCHAIN/configtools
}

View File

@ -23,7 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="make:host xz:host sed:host pkg-config:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host yasm:host"
PKG_DEPENDS_TARGET="configtools:host make:host xz:host sed:host pkg-config:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host yasm:host"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="toolchain: OpenELEC.tv' toolchain"

View File

@ -1,2 +0,0 @@
URL: http://git.savannah.gnu.org/cgit/config.git

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -156,12 +156,14 @@ if [ "$(type -t post_patch)" = "function" ]; then
fi
for config in `find $BUILD/$1* -name config.guess | sed 's/config.guess//'`; do
printf "%${BUILD_INDENT}c ${boldyellow}FIXCONFIG${endcolor} $config\n" ' '>&$SILENT_OUT
if [ ! "$PKG_NAME" == "configtools" ] ; then
printf "%${BUILD_INDENT}c ${boldyellow}FIXCONFIG${endcolor} $config\n" ' '
[ -f "$config/config.guess" ] && cp -f $SCRIPTS/configtools/config.guess $config
[ -f "$config/config.sub" ] && cp -f $SCRIPTS/configtools/config.sub $config
[ -f "$config/configure.guess" ] && cp -f $SCRIPTS/configtools/config.guess $config/configure.guess
[ -f "$config/configure.sub" ] && cp -f $SCRIPTS/configtools/config.sub $config/configure.sub
[ -f "$config/config.guess" -a -f $ROOT/$TOOLCHAIN/configtools/config.guess ] && \
cp -f $ROOT/$TOOLCHAIN/configtools/config.guess $config
[ -f "$config/config.sub" -a -f $ROOT/$TOOLCHAIN/configtools/config.sub ] && \
cp -f $ROOT/$TOOLCHAIN/configtools/config.sub $config
fi
done
rm -f $STAMPS/$1/build_*