kumquat-buildroot/package/libeXosip2/libeXosip2.mk
Martin Banky 05e4b940c9 libeXosip2: convert to autotargets and bump to 3.3.0
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-04 11:32:07 +02:00

29 lines
893 B
Makefile

#############################################################
#
# libeXosip2
#
#############################################################
LIBEXOSIP2_VERSION = 3.3.0
LIBEXOSIP2_SOURCE = libexosip2_$(LIBEXOSIP2_VERSION).orig.tar.gz
LIBEXOSIP2_PATCH = libexosip2_$(LIBEXOSIP2_VERSION)-1.diff.gz
LIBEXOSIP2_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/libe/libexosip2
LIBEXOSIP2_INSTALL_STAGING = YES
LIBEXOSIP2_DEPENDENCIES = host-pkg-config libosip2
ifneq ($(LIBEXOSIP2_PATCH),)
define LIBEXOSIP2_DEBIAN_PATCHES
if [ -d $(@D)/debian/patches ]; then \
(cd $(@D)/debian/patches && for i in *; \
do $(SED) 's,^\+\+\+ .*cvs-$(LIBEXOSIP2_VERSION)/,+++ cvs-$(LIBEXOSIP2_VERSION)/,' $$i; \
done; \
); \
toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches \*; \
fi
endef
endif
LIBEXOSIP2_POST_PATCH_HOOKS += LIBEXOSIP2_DEBIAN_PATCHES
$(eval $(call AUTOTARGETS,package,libeXosip2))