* [Buildroot] [PATCH] Added the libtpl package
@ 2012-03-19 8:58 spdawson at gmail.com
2012-03-19 9:52 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: spdawson at gmail.com @ 2012-03-19 8:58 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/Config.in | 1 +
package/libtpl/Config.in | 6 ++++++
package/libtpl/libtpl.mk | 13 +++++++++++++
3 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 package/libtpl/Config.in
create mode 100644 package/libtpl/libtpl.mk
diff --git a/package/Config.in b/package/Config.in
index f0ce963..85583c6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -386,6 +386,7 @@ source "package/libglib2/Config.in"
source "package/libical/Config.in"
source "package/libnspr/Config.in"
source "package/libsigc/Config.in"
+source "package/libtpl/Config.in"
source "package/liburcu/Config.in"
source "package/lttng-libust/Config.in"
source "package/orc/Config.in"
diff --git a/package/libtpl/Config.in b/package/libtpl/Config.in
new file mode 100644
index 0000000..a2c2c2d
--- /dev/null
+++ b/package/libtpl/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBTPL
+ bool "libtpl"
+ help
+ Easily store and retrieve binary data in C
+
+ http://tpl.sourceforge.net/
diff --git a/package/libtpl/libtpl.mk b/package/libtpl/libtpl.mk
new file mode 100644
index 0000000..6febebf
--- /dev/null
+++ b/package/libtpl/libtpl.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# libtpl
+#
+#############################################################
+LIBTPL_VERSION = 1.5
+LIBTPL_SOURCE = libtpl-$(LIBTPL_VERSION).tar.bz2
+LIBTPL_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tpl
+
+LIBTPL_INSTALL_STAGING = YES
+LIBTPL_INSTALL_TARGET = NO
+
+$(eval $(call AUTOTARGETS))
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] Added the libtpl package
2012-03-19 8:58 [Buildroot] [PATCH] Added the libtpl package spdawson at gmail.com
@ 2012-03-19 9:52 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-03-19 9:52 UTC (permalink / raw)
To: buildroot
Le Mon, 19 Mar 2012 08:58:08 +0000,
spdawson at gmail.com a ?crit :
> +LIBTPL_VERSION = 1.5
> +LIBTPL_SOURCE = libtpl-$(LIBTPL_VERSION).tar.bz2
> +LIBTPL_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tpl
> +
> +LIBTPL_INSTALL_STAGING = YES
> +LIBTPL_INSTALL_TARGET = NO
This looks strange. Is it a static-only library? At least a comment
here in the .mk file before those two lines would be needed to explain
why we have this unusual case.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] Added the libtpl package
2012-03-19 10:23 spdawson at gmail.com
@ 2012-03-19 12:33 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-03-19 12:33 UTC (permalink / raw)
To: buildroot
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
spdawson> From: Simon Dawson <spdawson@gmail.com>
spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
spdawson> ---
spdawson> package/Config.in | 1 +
spdawson> package/libtpl/Config.in | 6 ++++++
spdawson> package/libtpl/libtpl.mk | 14 ++++++++++++++
spdawson> 3 files changed, 21 insertions(+), 0 deletions(-)
spdawson> create mode 100644 package/libtpl/Config.in
spdawson> create mode 100644 package/libtpl/libtpl.mk
spdawson> +++ b/package/libtpl/libtpl.mk
spdawson> @@ -0,0 +1,14 @@
spdawson> +#############################################################
spdawson> +#
spdawson> +# libtpl
spdawson> +#
spdawson> +#############################################################
spdawson> +LIBTPL_VERSION = 1.5
spdawson> +LIBTPL_SOURCE = libtpl-$(LIBTPL_VERSION).tar.bz2
spdawson> +LIBTPL_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tpl
spdawson> +
spdawson> +# N.B. A static library is built, so don't install to target
spdawson> +LIBTPL_INSTALL_STAGING = YES
spdawson> +LIBTPL_INSTALL_TARGET = NO
Ehh, how did you get that idea?
make -C output/build/libtpl-1.5 DESTDIR=$PWD/out install
tree out
out
??? usr
??? include
??? ??? tpl.h
??? lib
??? libtpl.a
??? libtpl.la
??? libtpl.so -> libtpl.so.0.0.0
??? libtpl.so.0 -> libtpl.so.0.0.0
??? libtpl.so.0.0.0
Committed without the _INSTALL_TARGET = NO, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] Added the libtpl package
@ 2012-03-19 10:23 spdawson at gmail.com
2012-03-19 12:33 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: spdawson at gmail.com @ 2012-03-19 10:23 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/Config.in | 1 +
package/libtpl/Config.in | 6 ++++++
package/libtpl/libtpl.mk | 14 ++++++++++++++
3 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 package/libtpl/Config.in
create mode 100644 package/libtpl/libtpl.mk
diff --git a/package/Config.in b/package/Config.in
index f0ce963..85583c6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -386,6 +386,7 @@ source "package/libglib2/Config.in"
source "package/libical/Config.in"
source "package/libnspr/Config.in"
source "package/libsigc/Config.in"
+source "package/libtpl/Config.in"
source "package/liburcu/Config.in"
source "package/lttng-libust/Config.in"
source "package/orc/Config.in"
diff --git a/package/libtpl/Config.in b/package/libtpl/Config.in
new file mode 100644
index 0000000..a2c2c2d
--- /dev/null
+++ b/package/libtpl/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBTPL
+ bool "libtpl"
+ help
+ Easily store and retrieve binary data in C
+
+ http://tpl.sourceforge.net/
diff --git a/package/libtpl/libtpl.mk b/package/libtpl/libtpl.mk
new file mode 100644
index 0000000..96a2228
--- /dev/null
+++ b/package/libtpl/libtpl.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# libtpl
+#
+#############################################################
+LIBTPL_VERSION = 1.5
+LIBTPL_SOURCE = libtpl-$(LIBTPL_VERSION).tar.bz2
+LIBTPL_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tpl
+
+# N.B. A static library is built, so don't install to target
+LIBTPL_INSTALL_STAGING = YES
+LIBTPL_INSTALL_TARGET = NO
+
+$(eval $(call AUTOTARGETS))
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-19 12:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-19 8:58 [Buildroot] [PATCH] Added the libtpl package spdawson at gmail.com
2012-03-19 9:52 ` Thomas Petazzoni
2012-03-19 10:23 spdawson at gmail.com
2012-03-19 12:33 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.