summaryrefslogtreecommitdiff
path: root/package/libxslt/Makefile
blob: 6e648c26b681788ed6b4b3d66c2dce524997e403 (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
33
34
35
36
37
38
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		libxslt
PKG_VERSION:=		1.1.24
PKG_RELEASE:=		1
PKG_BUILDDEP+=		libxml2
PKG_MD5SUM:=		e83ec5d27fc4c10c6f612879bea9a153
PKG_DESCR:=		XSLT Library
PKG_SECTION:=		libs
PKG_DEPENDS:=		libxml2
PKG_URL:=		http://xmlsoft.org/XSLT
PKG_SITES:=		http://xmlsoft.org/sources/ \
			ftp://fr.rpmfind.net/pub/libxml/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,LIBXSLT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_STYLE=	gnu
CONFIGURE_ARGS+=	--with-libxml-prefix="${STAGING_DIR}/usr" \
			--with-libxml-include-prefix="${STAGING_DIR}/usr/include/libxml2" \
			--with-libxml-libs-prefix="${STAGING_DIR}/usr/lib" \
			--without-python \
			--without-crypto \
			--without-debug \
			--without-mem-debug \
			--without-debugger
BUILD_STYLE=		auto
INSTALL_STYLE=		auto confprog

post-install:
	${INSTALL_DIR} ${IDIR_LIBXSLT}/usr/lib
	${CP} ${WRKINST}/usr/lib/libxslt.so.* ${IDIR_LIBXSLT}/usr/lib/

include ${TOPDIR}/mk/pkg-bottom.mk