This patch removes the menuentries to generate a static or shared
library. Instead we do default a shared library now. Additional we
do slightly a version bump to 2.08 liblzo version.

Signed-off-by: Alexander Aring <[email protected]>
---
 rules/liblzo.in   | 18 ------------------
 rules/liblzo.make | 11 +++++------
 2 files changed, 5 insertions(+), 24 deletions(-)

diff --git a/rules/liblzo.in b/rules/liblzo.in
index 62c74c7..d416b59 100644
--- a/rules/liblzo.in
+++ b/rules/liblzo.in
@@ -9,21 +9,3 @@ menuconfig LIBLZO
          Compiles the LZO compression libraries on your target system.
 
           See http://www.oberhumer.com/opensource/lzo/ for info about it.
-
-if LIBLZO
-
-config LIBLZO_SHARED
-       bool
-       default y
-       prompt "Create shared library"
-       help
-         Create a shared library and install it into /usr/lib
-
-config LIBLZO_STATIC
-       bool
-       prompt "Create static link library"
-       help
-         Create a static link library and install it into /usr/lib.
-         Normally not needed.
-
-endif
diff --git a/rules/liblzo.make b/rules/liblzo.make
index 2bcb25f..dcb4c9e 100644
--- a/rules/liblzo.make
+++ b/rules/liblzo.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBLZO) += liblzo
 #
 # Paths and names
 #
-LIBLZO_VERSION := 2.03
-LIBLZO_MD5     := 0c3d078c2e8ea5a88971089a2f02a726
+LIBLZO_VERSION := 2.08
+LIBLZO_MD5     := fcec64c26a0f4f4901468f360029678f
 LIBLZO         := lzo-$(LIBLZO_VERSION)
 LIBLZO_SUFFIX  := tar.gz
 LIBLZO_URL     := 
http://www.oberhumer.com/opensource/lzo/download/$(LIBLZO).$(LIBLZO_SUFFIX)
@@ -38,8 +38,8 @@ LIBLZO_ENV    := $(CROSS_ENV)
 #
 LIBLZO_AUTOCONF := \
        $(CROSS_AUTOCONF_USR) \
-       --$(call ptx/endis, PTXCONF_LIBLZO_SHARED)-shared \
-       --$(call ptx/endis, PTXCONF_LIBLZO_STATIC)-static
+       --enable-shared \
+       --disable-static
 
 # ----------------------------------------------------------------------------
 # Target-Install
@@ -54,9 +54,8 @@ $(STATEDIR)/liblzo.targetinstall:
        @$(call install_fixup, liblzo,AUTHOR,"Carsten Schlote 
<[email protected]>")
        @$(call install_fixup, liblzo,DESCRIPTION,missing)
 
-ifdef PTXCONF_LIBLZO_SHARED
        @$(call install_lib, liblzo, 0, 0, 0644, liblzo2)
-endif
+
        @$(call install_finish, liblzo)
 
        @$(call touch)
-- 
2.2.2


-- 
ptxdist mailing list
[email protected]

Reply via email to