[packages] serdisplib: update to v1.97.8, cleanup
authorNicolas Thill <nico@openwrt.org>
Mon, 5 Oct 2009 14:57:05 +0000 (14:57 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 5 Oct 2009 14:57:05 +0000 (14:57 +0000)
SVN-Revision: 17887

libs/serdisplib/Makefile
libs/serdisplib/patches/101-test_shared.patch [deleted file]

index 9e8edbe..96cb4f7 100644 (file)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2009 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=serdisplib
-PKG_VERSION:=1.97.7
+PKG_VERSION:=1.97.8
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/serdisplib
-PKG_MD5SUM:=ae6ca7c14ca92b0fc9dbb5df4a05a4c7
+PKG_MD5SUM:=2aa91c43d01d2dfc9fbc1116e3063ae1
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -30,12 +30,9 @@ define Package/serdisplib/description
        with built-in controllers.
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default, \
-               --enable-shared \
-               --enable-static \
-       )
-endef
+CONFIGURE_ARGS+= \
+       --enable-shared \
+       --enable-static \
 
 TARGET_CFLAGS += $(FPIC)
 
diff --git a/libs/serdisplib/patches/101-test_shared.patch b/libs/serdisplib/patches/101-test_shared.patch
deleted file mode 100644 (file)
index fbdfa46..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -103,8 +103,8 @@
-       cd $(LIB_DIR) && $(LN_S) -f $(LIB_SHARED) lib$(LIB_NAME).so.$(VERSION_MAJOR)
-       cd $(LIB_DIR) && $(LN_S) -f lib$(LIB_NAME).so.$(VERSION_MAJOR) lib$(LIB_NAME).so
--testserdisp: $(LIB_DIR)/$(LIB_STATIC) $(OBJECTS)
--      $(CC) -o testserdisp $(OBJECTS) $(LIB_DIR)/$(LIB_STATIC) $(TARGET_LDFLAGS) $(EXTRA_LIBS)
-+testserdisp: $(LIB_DIR)/$(LIB_SHARED) $(OBJECTS)
-+      $(CC) -o testserdisp $(OBJECTS) $(LIB_DIR)/$(LIB_SHARED) $(TARGET_LDFLAGS) $(EXTRA_LIBS)
- clean:
-       /bin/rm -f $(OBJECTS) $(LIB_OBJECTS) $(LIB_DIR)/*.a $(LIB_DIR)/*.so*