diff options
author | Abdoulaye Walsimou GAYE <awg@embtoolkit.org> | 2011-06-25 19:40:00 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-06-25 23:21:33 +0200 |
commit | 8cbef49c07ead43889df357146e8d32f0275b756 (patch) | |
tree | 69b9fbf9472263d92c8e1194502d7b8ec8f4e56c /packages/misc | |
parent | d26f67ffd7241efae63e1d63a05ba2e0fcf3679d (diff) | |
download | embtoolkit-8cbef49c07ead43889df357146e8d32f0275b756.tar.gz embtoolkit-8cbef49c07ead43889df357146e8d32f0275b756.tar.bz2 embtoolkit-8cbef49c07ead43889df357146e8d32f0275b756.tar.xz |
Packages: Add intltool-0.40.6
Signed-off-by: Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
Diffstat (limited to 'packages/misc')
-rw-r--r-- | packages/misc/intltool/intltool.kconfig | 75 | ||||
-rw-r--r-- | packages/misc/intltool/intltool.mk | 76 | ||||
-rw-r--r-- | packages/misc/misc.kconfig | 1 | ||||
-rw-r--r-- | packages/misc/misc.mk | 4 |
4 files changed, 156 insertions, 0 deletions
diff --git a/packages/misc/intltool/intltool.kconfig b/packages/misc/intltool/intltool.kconfig new file mode 100644 index 0000000..c3ada26 --- /dev/null +++ b/packages/misc/intltool/intltool.kconfig @@ -0,0 +1,75 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2011 Abdoulaye Walsimou GAYE. +# +# 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/>. +# +################################################################################ +# +# \file intltool.kconfig +# \brief intltool.kconfig of Embtoolkit +# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org> +# \date June 2011 +################################################################################ + +config EMBTK_HOST_HAVE_INTLTOOL + bool + select EMBTK_INTLTOOL_PKG_IS_TARBZ2 + help + intltool for host development machine. + +config EMBTK_HAVE_INTLTOOL + bool + select EMBTK_INTLTOOL_PKG_IS_TARBZ2 + help + intltool description +choice + prompt "intltool version you wish" + depends on EMBTK_HAVE_INTLTOOL || EMBTK_HOST_HAVE_INTLTOOL + help + Here you can choose which version of intltool you want to use. + + config EMBTK_INTLTOOL_VERSION_0_40_6 + bool "intltool-0.40.6" +endchoice + +config EMBTK_INTLTOOL_MAJOR_VERSION_STRING + string + default "0.40" if EMBTK_INTLTOOL_VERSION_0_40_6 + +config EMBTK_INTLTOOL_VERSION_STRING + string + default "0.40.6" if EMBTK_INTLTOOL_VERSION_0_40_6 + +config EMBTK_INTLTOOL_NEED_PATCH + bool + select EMBTK_INTLTOOL_HOST_NEED_PATCH +config EMBTK_INTLTOOL_NEED_AUTORECONF + bool + select EMBTK_INTLTOOL_HOST_NEED_AUTORECONF +config EMBTK_INTLTOOL_PKG_IS_TARGZ + bool + select EMBTK_INTLTOOL_HOST_PKG_IS_TARGZ +config EMBTK_INTLTOOL_PKG_IS_TARBZ2 + bool + select EMBTK_INTLTOOL_HOST_PKG_IS_TARBZ2 + +config EMBTK_INTLTOOL_HOST_NEED_PATCH + bool +config EMBTK_INTLTOOL_HOST_NEED_AUTORECONF + bool +config EMBTK_INTLTOOL_HOST_PKG_IS_TARGZ + bool +config EMBTK_INTLTOOL_HOST_PKG_IS_TARBZ2 + bool diff --git a/packages/misc/intltool/intltool.mk b/packages/misc/intltool/intltool.mk new file mode 100644 index 0000000..71b2703 --- /dev/null +++ b/packages/misc/intltool/intltool.mk @@ -0,0 +1,76 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2011 Abdoulaye Walsimou GAYE. +# +# 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/>. +# +################################################################################ +# +# \file intltool.mk +# \brief intltool.mk of Embtoolkit +# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org> +# \date June 2011 +################################################################################ + +INTLTOOL_NAME := intltool +INTLTOOL_MAJOR_VERSION := $(call EMBTK_GET_PKG_VERSION,INTLTOOL_MAJOR) +INTLTOOL_VERSION := $(call EMBTK_GET_PKG_VERSION,INTLTOOL) +INTLTOOL_SITE := http://ftp.gnome.org/pub/gnome/sources/intltool/$(INTLTOOL_MAJOR_VERSION) +INTLTOOL_SITE_MIRROR3 := ftp://ftp.embtoolkit.org/embtoolkit.org/packages-mirror +INTLTOOL_PATCH_SITE := ftp://ftp.embtoolkit.org/embtoolkit.org/intltool/$(INTLTOOL_VERSION) +INTLTOOL_PACKAGE := intltool-$(INTLTOOL_VERSION).tar.bz2 +INTLTOOL_SRC_DIR := $(PACKAGES_BUILD)/intltool-$(INTLTOOL_VERSION) +INTLTOOL_BUILD_DIR := $(PACKAGES_BUILD)/intltool-$(INTLTOOL_VERSION) + +# +# intltool for target +# +INTLTOOL_BINS := +INTLTOOL_SBINS := +INTLTOOL_INCLUDES := +INTLTOOL_LIBS := +INTLTOOL_LIBEXECS := +INTLTOOL_PKGCONFIGS := + +INTLTOOL_CONFIGURE_ENV := +INTLTOOL_CONFIGURE_OPTS := + +INTLTOOL_DEPS := + +intltool_install: + $(call EMBTK_INSTALL_PKG,INTLTOOL) + +intltool_clean: + $(call EMBTK_CLEANUP_PKG,INTLTOOL) + +# +# intltool for host +# +INTLTOOL_HOST_NAME := $(INTLTOOL_NAME) +INTLTOOL_HOST_VERSION := $(INTLTOOL_VERSION) +INTLTOOL_HOST_SITE := $(INTLTOOL_SITE) +INTLTOOL_HOST_SITE_MIRROR3 := $(INTLTOOL_SITE_MIRROR3) +INTLTOOL_HOST_PATCH_SITE := $(INTLTOOL_PATCH_SITE) +INTLTOOL_HOST_PACKAGE := $(INTLTOOL_PACKAGE) +INTLTOOL_HOST_SRC_DIR := $(TOOLS_BUILD)/intltool-$(INTLTOOL_VERSION) +INTLTOOL_HOST_BUILD_DIR := $(TOOLS_BUILD)/intltool-$(INTLTOOL_VERSION) + +intltool_host_install: + $(call EMBTK_INSTALL_HOSTPKG,INTLTOOL_HOST) + +# +# common targets +# +download_intltool download_intltool_host: + $(call EMBTK_DOWNLOAD_PKG,INTLTOOL) diff --git a/packages/misc/misc.kconfig b/packages/misc/misc.kconfig index ca13519..d5a33c3 100644 --- a/packages/misc/misc.kconfig +++ b/packages/misc/misc.kconfig @@ -27,6 +27,7 @@ source packages/misc/expat/expat.kconfig source packages/misc/gettext/gettext.kconfig source packages/misc/glib/glib.kconfig +source packages/misc/intltool/intltool.kconfig source packages/misc/libelf/libelf.kconfig source packages/misc/libxml/libxml.kconfig source packages/misc/ncurses/ncurses.kconfig diff --git a/packages/misc/misc.mk b/packages/misc/misc.mk index 8b772dc..c71e10d 100644 --- a/packages/misc/misc.mk +++ b/packages/misc/misc.mk @@ -34,6 +34,10 @@ ROOTFS_COMPONENTS-$(CONFIG_EMBTK_HAVE_GETTEXT) += gettext_install include $(EMBTK_ROOT)/packages/misc/glib/glib.mk ROOTFS_COMPONENTS-$(CONFIG_EMBTK_HAVE_GLIB) += glib_install +# intltool +include $(EMBTK_ROOT)/packages/misc/intltool/intltool.mk +HOSTTOOLS_COMPONENTS-$(CONFIG_EMBTK_HOST_HAVE_INTLTOOL) += intltool_host_install + #libelf include $(EMBTK_ROOT)/packages/misc/libelf/libelf.mk ROOTFS_COMPONENTS-$(CONFIG_EMBTK_HAVE_LIBELF) += libelf_install |