iksemel: fixes and cleanups
[feed/telephony.git] / libs / iksemel / Makefile
index b763e5241032c682d646f94d96ca2ca01868ce21..56079ed2468fa15bb5c13dc7a760e6f7814ae281 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014 OpenWrt.org
+# Copyright (C) 2014 - 2017 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=iksemel
 PKG_VERSION:=1.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://iksemel.googlecode.com/files/
@@ -30,8 +30,8 @@ define Package/libiksemel
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE:=Iksemel Jabber Library
-  URL:=http://code.google.com/p/iksemel/
-  DEPENDS:= +libgnutls +libtasn1 +libgcrypt +libgpg-error
+  URL:=https://github.com/meduketto/iksemel
+  DEPENDS:=+libgnutls
 endef
 
 define Package/libiksemel/description
@@ -41,21 +41,6 @@ in ANSI C except the network code (which is POSIX compatible), thus
 highly portable.
 endef
 
-TARGET_CFLAGS += $(FPIC)
-TARGET_LDFLAGS += \
-       -Wl,-rpath-link,$(STAGING_DIR)/usr/lib \
-       -lgnutls -lgcrypt -lgpg-error
-
-define Build/Configure
-       $(call Build/Configure/Default, \
-               --enable-shared \
-               --enable-static \
-               --with-libgnutls-prefix="$(STAGING_DIR)/usr" \
-               , \
-               LIBS="$(TARGET_LDFLAGS)" \
-       )
-endef
-
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/include/iksemel.h $(1)/usr/include/