summaryrefslogtreecommitdiff
path: root/package/expat
diff options
context:
space:
mode:
Diffstat (limited to 'package/expat')
-rw-r--r--package/expat/Config.in14
-rw-r--r--package/expat/Makefile14
2 files changed, 7 insertions, 21 deletions
diff --git a/package/expat/Config.in b/package/expat/Config.in
deleted file mode 100644
index 209d357b7..000000000
--- a/package/expat/Config.in
+++ /dev/null
@@ -1,14 +0,0 @@
-config ADK_COMPILE_EXPAT
- tristate
- default n
- depends on ADK_PACKAGE_LIBEXPAT
-
-config ADK_PACKAGE_LIBEXPAT
- prompt "libexpat.......................... A fast, non-validating, stream-oriented XML parsing library"
- tristate
- default n
- select ADK_COMPILE_EXPAT
- help
- A fast, non-validating, stream-oriented XML parsing library
-
- http://expat.sourceforge.net/
diff --git a/package/expat/Makefile b/package/expat/Makefile
index 532e47068..6d267e53e 100644
--- a/package/expat/Makefile
+++ b/package/expat/Makefile
@@ -7,21 +7,21 @@ PKG_NAME:= expat
PKG_VERSION:= 2.0.1
PKG_RELEASE:= 1
PKG_MD5SUM:= ee8b492592568805593f81f8cdf2a04c
-PKG_DESCR:= a fast, non-validating, stream-oriented XML parsing library
+PKG_DESCR:= a XML parsing library
PKG_SECTION:= libs
PKG_URL:= http://expat.sourceforge.net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=expat/}
-include ${TOPDIR}/mk/package.mk
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
-$(eval $(call PKG_template,LIBEXPAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+include ${TOPDIR}/mk/package.mk
-CONFIGURE_STYLE= gnu
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
+$(eval $(call PKG_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
post-install:
${INSTALL_DIR} ${IDIR_LIBEXPAT}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libexpat.so.* ${IDIR_LIBEXPAT}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libexpat.so* ${IDIR_LIBEXPAT}/usr/lib/
include ${TOPDIR}/mk/pkg-bottom.mk