diff --git a/packages/toolchain/devel/autotools/intltool/meta b/packages/devel/intltool/package.mk similarity index 87% rename from packages/toolchain/devel/autotools/intltool/meta rename to packages/devel/intltool/package.mk index 18583403b2..8b5e35faa4 100644 --- a/packages/toolchain/devel/autotools/intltool/meta +++ b/packages/devel/intltool/package.mk @@ -23,12 +23,17 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.gnome.org" PKG_URL="http://launchpad.net/intltool/trunk/$PKG_VERSION/+download/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="ccache:host" +PKG_DEPENDS_HOST="" +PKG_BUILD_DEPENDS_HOST="ccache:host" PKG_PRIORITY="optional" -PKG_SECTION="toolchain/devel" +PKG_SECTION="devel" PKG_SHORTDESC="intltool: Gnome international tools" PKG_LONGDESC="The Gnome international tools help to handle translation strings from various source files (.xml.in, .glade, .desktop.in, .server.in, .oaf.in)." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="no" + +post_makeinstall_host() { + mkdir -p $SYSROOT_PREFIX/usr/share/aclocal + cp ../intltool.m4 $SYSROOT_PREFIX/usr/share/aclocal +} diff --git a/packages/toolchain/devel/autotools/intltool/build b/packages/toolchain/devel/autotools/intltool/build deleted file mode 100755 index 619a1129ad..0000000000 --- a/packages/toolchain/devel/autotools/intltool/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 \ - -make install - -mkdir -p $SYSROOT_PREFIX/usr/share/aclocal - cp intltool.m4 $SYSROOT_PREFIX/usr/share/aclocal diff --git a/packages/toolchain/devel/autotools/package.mk b/packages/toolchain/devel/autotools/package.mk index 91698c5f7d..ed3fd70877 100644 --- a/packages/toolchain/devel/autotools/package.mk +++ b/packages/toolchain/devel/autotools/package.mk @@ -24,7 +24,7 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.openelec.tv" PKG_URL="" PKG_DEPENDS_HOST="" -PKG_BUILD_DEPENDS_HOST="ccache:host autoconf:host automake:host libtool:host intltool autoconf-archive:host" +PKG_BUILD_DEPENDS_HOST="ccache:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host" PKG_PRIORITY="optional" PKG_SECTION="virtual" PKG_SHORTDESC="autotools: Metapackage"