2007-11-30 11:28:36 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libosip2
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-10-03 00:06:23 +02:00
|
|
|
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
|
2007-11-30 13:32:33 +01:00
|
|
|
|
2010-10-03 00:06:23 +02:00
|
|
|
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
|
2007-11-30 11:28:36 +01:00
|
|
|
|
2010-04-10 18:58:28 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package,libosip2))
|