summaryrefslogtreecommitdiff
path: root/package/libxml2/libxml2.mk
blob: f04731ca22f290d495b151b53e20d4e54b451c5f (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
30
31
32
#############################################################
#
# libxml2
#
#############################################################

LIBXML2_VERSION = 2.6.29
LIBXML2_SOURCE = libxml2-sources-$(LIBXML2_VERSION).tar.gz
LIBXML2_SITE = ftp://xmlsoft.org/libxml2
LIBXML2_AUTORECONF = NO
LIBXML2_INSTALL_STAGING = YES
LIBXML2_INSTALL_TARGET = YES

LIBXML2_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
		--build=$(GNU_HOST_NAME) --prefix=/usr \
		--exec-prefix=/usr --bindir=/usr/bin \
		--sbindir=/usr/sbin --libexecdir=/usr/lib \
		--sysconfdir=/etc --datadir=/usr/share \
		--localstatedir=/var --mandir=/usr/man \
		--infodir=/usr/info --includedir=/usr/include \
		--with-gnu-ld --enable-shared \
		--enable-static --enable-ipv6=no \
		--without-debugging --without-python \
		--without-threads $(DISABLE_NLS)

LIBXML2_DEPENDENCIES = uclibc

$(eval $(call AUTOTARGETS,package,libxml2))

$(LIBXML2_HOOK_POST_INSTALL):
	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libxml2*so*
	touch $@