2006-01-23 21:10:12 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# expat
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2009-03-16 21:58:04 +01:00
|
|
|
EXPAT_VERSION = 2.0.1
|
|
|
|
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.gz
|
|
|
|
EXPAT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/expat
|
|
|
|
EXPAT_LIBTOOL_PATCH = NO
|
|
|
|
EXPAT_INSTALL_STAGING = YES
|
|
|
|
EXPAT_INSTALL_TARGET = YES
|
|
|
|
# no install-strip / install-exec
|
|
|
|
EXPAT_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) installlib
|
|
|
|
EXPAT_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) installlib
|
2006-01-23 21:10:12 +01:00
|
|
|
|
2009-03-16 21:58:04 +01:00
|
|
|
EXPAT_CONF_OPT = --enable-shared
|
2007-06-25 10:37:23 +02:00
|
|
|
|
2009-10-27 23:16:44 +01:00
|
|
|
EXPAT_DEPENDENCIES = host-pkg-config
|
2006-01-23 21:10:12 +01:00
|
|
|
|
2009-03-16 21:58:04 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,expat))
|
2009-11-06 19:14:48 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,expat,host))
|
2006-01-23 21:10:12 +01:00
|
|
|
|
2009-03-16 21:58:04 +01:00
|
|
|
$(EXPAT_HOOK_POST_INSTALL): $(EXPAT_TARGET_INSTALL_TARGET)
|
|
|
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libexpat.so.*
|
2007-06-25 10:37:23 +02:00
|
|
|
touch $@
|