Skip to contentSkip to conversation

Added the libtpl package

PATCH New spdawson at gmail.com 2 participants 2 messages Mar 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added the libtpl package

From: Simon Dawson <[email protected]>

---
 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
package/Config.in +1 -0
index f0ce963..85583c6 100644
@@ -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"
package/libtpl/Config.in new file +6 -0
new file mode 100644
index 0000000..a2c2c2d
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBTPL
+	bool "libtpl"
+	help
+	  Easily store and retrieve binary data in C
+
+	  http://tpl.sourceforge.net/
package/libtpl/libtpl.mk new file +14 -0
new file mode 100644
index 0000000..96a2228
@@ -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))
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 Added the libtpl package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"spdawson" == spdawson <[email protected]> writes:

spdawson> From: Simon Dawson <[email protected]> spdawson> Signed-off-by: Simon Dawson <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard