From 9ce1d499125e2e956b80483c2b074a2f46e58259 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 5 Jan 2014 11:15:43 +0100 Subject: [PATCH] sed: convert to new package format, move package Signed-off-by: Stephan Raue --- .../sed/meta => sysutils/sed/package.mk} | 11 +++--- packages/toolchain/meta | 4 +-- packages/toolchain/sysutils/sed/build | 34 ------------------- 3 files changed, 9 insertions(+), 40 deletions(-) rename packages/{toolchain/sysutils/sed/meta => sysutils/sed/package.mk} (89%) delete mode 100755 packages/toolchain/sysutils/sed/build diff --git a/packages/toolchain/sysutils/sed/meta b/packages/sysutils/sed/package.mk similarity index 89% rename from packages/toolchain/sysutils/sed/meta rename to packages/sysutils/sed/package.mk index 29817ddfc6..ca72102d12 100644 --- a/packages/toolchain/sysutils/sed/meta +++ b/packages/sysutils/sed/package.mk @@ -23,12 +23,15 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="ftp://ftp.gnu.org/pub/gnu/sed/" PKG_URL="http://ftp.gnu.org/gnu/sed/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="ccache" +PKG_DEPENDS_HOST="" +PKG_BUILD_DEPENDS_HOST="ccache" PKG_PRIORITY="optional" -PKG_SECTION="toolchain/sysutils" +PKG_SECTION="sysutils" PKG_SHORTDESC="sed: This is the GNU implementation of the POSIX stream editor" PKG_LONGDESC="The sed (Stream EDitor) editor is a stream or batch (non-interactive) editor. Sed takes text as input, performs an operation or set of operations on the text and outputs the modified text. The operations that sed performs (substitutions, deletions, insertions, etc.) can be specified in a script file or from the command line." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="no" + +PKG_CONFIGURE_OPTS_HOST="--disable-nls --disable-acl --without-selinux" +PKG_MAKEINSTALL_OPTS_HOST="-C sed install" diff --git a/packages/toolchain/meta b/packages/toolchain/meta index dd552fac06..973e57aa96 100644 --- a/packages/toolchain/meta +++ b/packages/toolchain/meta @@ -24,8 +24,8 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.openelec.tv" PKG_URL="" PKG_DEPENDS="" -#PKG_BUILD_DEPENDS="make xz sed pkg-config autotools gcc-final bison:host flex cmake jam scons yasm nasm" -PKG_BUILD_DEPENDS="make:host xz sed pkg-config autotools gcc:host bison:host flex cmake scons yasm nasm" +#PKG_BUILD_DEPENDS="make xz sed:host pkg-config autotools gcc-final bison:host flex cmake jam scons yasm nasm" +PKG_BUILD_DEPENDS="make:host xz sed:host pkg-config autotools gcc:host bison:host flex cmake scons yasm nasm" PKG_PRIORITY="optional" PKG_SECTION="toolchain/devel" PKG_SHORTDESC="toolchain: OpenELEC.tv' toolchain" diff --git a/packages/toolchain/sysutils/sed/build b/packages/toolchain/sysutils/sed/build deleted file mode 100755 index 6e53fca202..0000000000 --- a/packages/toolchain/sysutils/sed/build +++ /dev/null @@ -1,34 +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 . -################################################################################ - -. config/options $1 - -setup_toolchain host - -cd $PKG_BUILD -./configure --host=$HOST_NAME \ - --build=$HOST_NAME \ - --prefix=$ROOT/$TOOLCHAIN \ - --disable-nls \ - --disable-acl \ - --without-selinux - -make -make -C sed install