import libwbxml 0.11.0

The WBXML Library (libwbxml) contains a library and its associated
tools to parse, encode and handle WBXML documents.

The WBXML format is a binary representation of XML, defined by the
Wap Forum, and used to reduce bandwidth in mobile communications.

from Vadim Zhukov
feedback/ok sthen@
This commit is contained in:
jasper 2011-10-24 20:27:40 +00:00
parent 2036336660
commit 8e4cc3e507
6 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/10/24 20:27:40 jasper Exp $
CATEGORIES = textproc devel
COMMENT = C library for handling WBXML documents
DISTNAME = libwbxml-0.11.0
HOMEPAGE = http://libwbxml.aymerick.com/
SHARED_LIBS += wbxml2 0.0 # 1.0
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libwbxml/}
# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c expat
SEPARATE_BUILD = simple
USE_LIBTOOL = Yes
MODULES = devel/cmake
CONFIGURE_ARGS += -DCHECK_FOUND=1 \
-DWBXML_LIB_VERBOSE=ON \
-DLIBWBXML_INCLUDE_DIR=${PREFIX}/include
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (libwbxml-0.11.0.tar.gz) = gP46/EC9sPwQFtMmMKhdvQ==
RMD160 (libwbxml-0.11.0.tar.gz) = Zy6WkVougeQ1tYV0kLNzA/oK1vc=
SHA1 (libwbxml-0.11.0.tar.gz) = HFlfxkAU+AlBCABav7GHQCJnbD4=
SHA256 (libwbxml-0.11.0.tar.gz) = 6eaK7Vc7il03VXEsR3BAuV1qEJN90HIXagjkmYvZlZo=
SIZE (libwbxml-0.11.0.tar.gz) = 424136

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2011/10/24 20:27:40 jasper Exp $
--- CMakeLists.txt.orig Fri Sep 9 04:10:26 2011
+++ CMakeLists.txt Fri Sep 9 04:15:08 2011
@@ -97,6 +97,7 @@ SET( WBXML_SUPPORT_ICONV OFF )
IF( ICONV_FOUND )
SET( HAVE_ICONV 1 )
SET( WBXML_SUPPORT_ICONV ON )
+ INCLUDE_DIRECTORIES( ${ICONV_INCLUDE_DIR} )
ENDIF( ICONV_FOUND )
# look for getopt implementation in unistd.h

View File

@ -0,0 +1,5 @@
The WBXML Library (libwbxml) contains a library and its associated
tools to parse, encode and handle WBXML documents.
The WBXML format is a binary representation of XML, defined by the
Wap Forum, and used to reduce bandwidth in mobile communications.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/10/24 20:27:40 jasper Exp $
@lib lib/libwbxml2.so.${LIBwbxml2_VERSION}

View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/10/24 20:27:40 jasper Exp $
%%SHARED%%
@bin bin/wbxml2xml
@bin bin/xml2wbxml
include/wbxml/
include/wbxml/wbxml.h
include/wbxml/wbxml_config.h
include/wbxml/wbxml_conv.h
include/wbxml/wbxml_defines.h
include/wbxml/wbxml_errors.h
lib/pkgconfig/
lib/pkgconfig/libwbxml2.pc
share/doc/libwbxml/
share/doc/libwbxml/AUTHORS
share/doc/libwbxml/BUGS
share/doc/libwbxml/COPYING
share/doc/libwbxml/ChangeLog
share/doc/libwbxml/GNU-LGPL
share/doc/libwbxml/INSTALL
share/doc/libwbxml/NEWS
share/doc/libwbxml/README
share/doc/libwbxml/References
share/doc/libwbxml/THANKS
share/doc/libwbxml/TODO