summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRicardo Crudo <ricardo.crudo@gmail.com>2014-07-14 14:35:56 -0300
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-16 22:34:15 +0200
commite1b18a98b943a3867b86e8bad667bf3dae2eea28 (patch)
treeca7df103f5686b7a93c984dc1fc042e3d192142c /packages
parent9d8f19059692bba549f79050ba6cca4088ccf6e0 (diff)
downloadembtoolkit-e1b18a98b943a3867b86e8bad667bf3dae2eea28.tar.gz
embtoolkit-e1b18a98b943a3867b86e8bad667bf3dae2eea28.tar.bz2
embtoolkit-e1b18a98b943a3867b86e8bad667bf3dae2eea28.tar.xz
Packages/textproc: New lrdf v0.4.0
Signed-off-by: Ricardo Crudo <ricardo.crudo@gmail.com> Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/textproc/lrdf/lrdf.kconfig50
-rw-r--r--packages/textproc/lrdf/lrdf.mk42
-rw-r--r--packages/textproc/textproc.kconfig5
-rw-r--r--packages/textproc/textproc.mk3
4 files changed, 99 insertions, 1 deletions
diff --git a/packages/textproc/lrdf/lrdf.kconfig b/packages/textproc/lrdf/lrdf.kconfig
new file mode 100644
index 0000000..2265fb2
--- /dev/null
+++ b/packages/textproc/lrdf/lrdf.kconfig
@@ -0,0 +1,50 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2014 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 lrdf.kconfig
+# \brief lrdf.kconfig of Embtoolkit
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date Jun 2014
+################################################################################
+
+config EMBTK_HAVE_LRDF
+ bool "Have lrdf"
+ select EMBTK_HAVE_LADSPA
+ select EMBTK_HAVE_RAPTOR
+ help
+ A lightweight RDF library with special support for LADSPA plugins.
+
+choice
+ prompt "lrdf version you wish"
+ depends on EMBTK_HAVE_LRDF
+ help
+ Here you can choose which version of lrdf you want to use.
+
+ config EMBTK_LRDF_VERSION_0_4_0
+ bool "lrdf-0.4.0"
+endchoice
+
+config EMBTK_LRDF_VERSION_STRING
+ string
+ default "0.4.0" if EMBTK_LRDF_VERSION_0_4_0
+
+config EMBTK_LRDF_NEED_PATCH
+ bool
+config EMBTK_LRDF_NEED_AUTORECONF
+ bool
diff --git a/packages/textproc/lrdf/lrdf.mk b/packages/textproc/lrdf/lrdf.mk
new file mode 100644
index 0000000..af7069e
--- /dev/null
+++ b/packages/textproc/lrdf/lrdf.mk
@@ -0,0 +1,42 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2014 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 lrdf.mk
+# \brief lrdf.mk of Embtoolkit
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date Jun 2014
+################################################################################
+
+LRDF_NAME := lrdf
+LRDF_VERSION := $(call embtk_get_pkgversion,lrdf)
+LRDF_SITE := http://sourceforge.net/projects/lrdf/files/liblrdf/$(LRDF_VERSION)
+LRDF_PACKAGE := liblrdf-$(LRDF_VERSION).tar.gz
+LRDF_SRC_DIR := $(embtk_pkgb)/liblrdf-$(LRDF_VERSION)
+LRDF_BUILD_DIR := $(embtk_pkgb)/liblrdf-$(LRDF_VERSION)
+
+LRDF_INCLUDES := lrdf*
+LRDF_LIBS := liblrdf*
+LRDF_PKGCONFIGS := lrdf.pc
+LRDF_SHARES := ladspa/rdf/ladspa.rdfs
+
+LRDF_DEPS := ladspa_install raptor_install
+
+define embtk_beforeinstall_lrdf
+ $(call __embtk_fixgconfigsfor_pkg,lrdf)
+endef
diff --git a/packages/textproc/textproc.kconfig b/packages/textproc/textproc.kconfig
index 033f6b9..79bf2d9 100644
--- a/packages/textproc/textproc.kconfig
+++ b/packages/textproc/textproc.kconfig
@@ -26,5 +26,8 @@
# libxml2
source packages/textproc/libxml2/libxml2.kconfig
+# lrdf
+source packages/textproc/lrdf/lrdf.kconfig
+
# raptor
-source packages/misc/raptor/raptor.kconfig
+source packages/textproc/raptor/raptor.kconfig
diff --git a/packages/textproc/textproc.mk b/packages/textproc/textproc.mk
index c6e6b33..193d7d5 100644
--- a/packages/textproc/textproc.mk
+++ b/packages/textproc/textproc.mk
@@ -28,5 +28,8 @@ embtk_pkgincdir := packages/textproc
# libxml2
$(call embtk_include_pkg,libxml2)
+# lrdf
+$(call embtk_include_pkg,lrdf)
+
# raptor
$(call embtk_include_pkg,raptor)