From a4e1da6d54b8dc615076d9b3c851cef6b18691b4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 22 Aug 2013 14:55:24 +0200 Subject: [PATCH] gettext: convert to new package format Signed-off-by: Stephan Raue --- .../toolchain/devel/autotools/gettext/build | 39 ------------------- .../autotools/gettext/{meta => package.mk} | 8 +++- 2 files changed, 6 insertions(+), 41 deletions(-) delete mode 100755 packages/toolchain/devel/autotools/gettext/build rename packages/toolchain/devel/autotools/gettext/{meta => package.mk} (91%) diff --git a/packages/toolchain/devel/autotools/gettext/build b/packages/toolchain/devel/autotools/gettext/build deleted file mode 100755 index 03d8937950..0000000000 --- a/packages/toolchain/devel/autotools/gettext/build +++ /dev/null @@ -1,39 +0,0 @@ -#!/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 $PKG_BUILD -./configure --host=$HOST_NAME \ - --build=$HOST_NAME \ - --target=$TARGET_NAME \ - --prefix=$ROOT/$TOOLCHAIN \ - --enable-shared \ - --disable-static \ - --disable-rpath \ - --with-gnu-ld \ - --without-emacs - -make -make install diff --git a/packages/toolchain/devel/autotools/gettext/meta b/packages/toolchain/devel/autotools/gettext/package.mk similarity index 91% rename from packages/toolchain/devel/autotools/gettext/meta rename to packages/toolchain/devel/autotools/gettext/package.mk index 637d22f1bf..4d359633fc 100644 --- a/packages/toolchain/devel/autotools/gettext/meta +++ b/packages/toolchain/devel/autotools/gettext/package.mk @@ -26,11 +26,15 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.gnu.org/s/gettext/" PKG_URL="http://ftp.gnu.org/pub/gnu/gettext/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="" -PKG_BUILD_DEPENDS="ccache" +PKG_BUILD_DEPENDS_HOST="ccache" PKG_PRIORITY="optional" PKG_SECTION="toolchain/devel" PKG_SHORTDESC="gettext: A program internationalization library and tools" PKG_LONGDESC="This is the GNU gettext package. It is interesting for authors or maintainers of other packages or programs which they want to see internationalized. As one step the handling of messages in different languages should be implemented. For this task GNU gettext provides the needed tools and library functions." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="no" + +PKG_CONFIGURE_OPTS_HOST="--disable-rpath \ + --with-gnu-ld \ + --without-emacs"