summaryrefslogtreecommitdiffstats
path: root/package/libosip2
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-10-02 15:06:23 -0700
committerPeter Korsgaard <jacmet@sunsite.dk>2010-10-04 11:28:32 +0200
commit3d1de0ed96f6f8f87e45bc5326005f0cde41f900 (patch)
treedb21001062c1f1dc4c2507d8dd7ffc47a669caae /package/libosip2
parent1f4000e562040046aef1ec79e33abdeedbe33005 (diff)
downloadbuildroot-novena-3d1de0ed96f6f8f87e45bc5326005f0cde41f900.tar.gz
buildroot-novena-3d1de0ed96f6f8f87e45bc5326005f0cde41f900.zip
libosip2: change site location and bump to 3.3.0
Change the site location to debian mirror to get the latest debian patches. Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libosip2')
-rw-r--r--package/libosip2/libosip2.mk26
1 files changed, 18 insertions, 8 deletions
diff --git a/package/libosip2/libosip2.mk b/package/libosip2/libosip2.mk
index 441b84c69..aa15332c9 100644
--- a/package/libosip2/libosip2.mk
+++ b/package/libosip2/libosip2.mk
@@ -3,14 +3,24 @@
# libosip2
#
#############################################################
-LIBOSIP2_VERSION=3.1.0
-LIBOSIP2_SOURCE=libosip2-$(LIBOSIP2_VERSION).tar.gz
-LIBOSIP2_SITE=http://www.antisip.com/download/exosip2
-LIBOSIP2_INSTALL_STAGING=YES
+LIBOSIP2_VERSION = 3.3.0
+LIBOSIP2_SOURCE = libosip2_$(LIBOSIP2_VERSION).orig.tar.gz
+LIBOSIP2_PATCH = libosip2_$(LIBOSIP2_VERSION)-1.diff.gz
+LIBOSIP2_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/libo/libosip2
+LIBOSIP2_INSTALL_STAGING = YES
-LIBOSIP2_CONF_OPT = \
- --with-gnu-ld \
- --enable-shared \
- --enable-static
+ifneq ($(LIBOSIP2_PATCH),)
+define LIBOSIP2_DEBIAN_PATCHES
+ if [ -d $(@D)/debian/patches ]; then \
+ (cd $(@D)/debian/patches && for i in *; \
+ do $(SED) 's,^\+\+\+ .*cvs-$(LIBOSIP2_VERSION)/,+++ cvs-$(LIBOSIP2_VERSION)/,' $$i; \
+ done; \
+ ); \
+ toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches \*; \
+ fi
+endef
+endif
+
+LIBOSIP2_POST_PATCH_HOOKS += LIBOSIP2_DEBIAN_PATCHES
$(eval $(call AUTOTARGETS,package,libosip2))