cpio: convert to new package format, move package

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-01-05 12:08:21 +01:00
parent a567640273
commit 47d9e50420
4 changed files with 4 additions and 35 deletions

View File

@ -23,12 +23,12 @@ PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/cpio/cpio.html" PKG_SITE="http://www.gnu.org/software/cpio/cpio.html"
PKG_URL="http://ftp.gnu.org/gnu/cpio/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_URL="http://ftp.gnu.org/gnu/cpio/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="" PKG_DEPENDS_HOST=""
PKG_BUILD_DEPENDS="toolchain" PKG_BUILD_DEPENDS_HOST="toolchain"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"
PKG_SECTION="compress" PKG_SECTION="compress"
PKG_SHORTDESC="cpio: A GNU archiving program" PKG_SHORTDESC="cpio: A GNU archiving program"
PKG_LONGDESC="This is GNU cpio, a program to manage archives of files. As of version 2.0, it supports the features of the System V release 4 cpio, including support for tar archives." PKG_LONGDESC="This is GNU cpio, a program to manage archives of files. As of version 2.0, it supports the features of the System V release 4 cpio, including support for tar archives."
PKG_IS_ADDON="no"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no" PKG_AUTORECONF="no"

View File

@ -34,7 +34,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org" PKG_SITE="http://www.kernel.org"
PKG_DEPENDS_TARGET="busybox linux-drivers linux-firmware pciutils $BOOTLOADER" PKG_DEPENDS_TARGET="busybox linux-drivers linux-firmware pciutils $BOOTLOADER"
PKG_BUILD_DEPENDS_HOST="ccache" PKG_BUILD_DEPENDS_HOST="ccache"
PKG_BUILD_DEPENDS_TARGET="toolchain cpio kmod:host pciutils xz wireless-regdb" PKG_BUILD_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz wireless-regdb"
PKG_BUILD_DEPENDS_INIT="toolchain" PKG_BUILD_DEPENDS_INIT="toolchain"
PKG_NEED_UNPACK="$LINUX_DEPENDS" PKG_NEED_UNPACK="$LINUX_DEPENDS"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"

View File

@ -1,31 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC 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.
#
# OpenELEC 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. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. config/options $1
setup_toolchain host
cd $PKG_BUILD
./configure --host=$HOST_NAME \
--build=$HOST_NAME \
--prefix=$ROOT/$TOOLCHAIN
make
make install