aboutsummaryrefslogtreecommitdiff
path: root/package/libroxml/libroxml.mk
blob: 3eefd9d425ba0daa4ef199eebd8d1263e93530f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
################################################################################
#
# libroxml
#
################################################################################

LIBROXML_VERSION = 2.2.3
LIBROXML_SITE = http://download.libroxml.net/pool/v2.x/
LIBROXML_INSTALL_STAGING = YES

define LIBROXML_BUILD_CMDS
	$(MAKE) $(TARGET_CONFIGURE_OPTS) OPTIM= -C $(@D) V=1 all
endef

define LIBROXML_INSTALL_STAGING_CMDS
	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(@D) install
endef

define LIBROXML_INSTALL_TARGET_CMDS
	$(MAKE) DESTDIR=$(TARGET_DIR)/usr/ -C $(@D) install
endef

define LIBROXML_DISABLE_DOXYGEN
	$(SED) 's:) doxy:):' $(@D)/Makefile
endef

LIBROXML_POST_PATCH_HOOKS += LIBROXML_DISABLE_DOXYGEN

$(eval $(generic-package))