libebml-0.7.6, Extensible Binary Meta Language library

This commit is contained in:
jolan 2006-03-22 01:26:57 +00:00
parent 21a0ee1c85
commit a5f2fa4576
6 changed files with 110 additions and 0 deletions

26
textproc/libebml/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/03/22 01:26:57 jolan Exp $
COMMENT= "Extensible Binary Meta Language library"
DISTNAME= libebml-0.7.6
SHARED_LIBS= ebml 0.0
EXTRACT_SUFX= .tar.bz2
CATEGORIES= textproc
MASTER_SITES= http://dl.matroska.org/downloads/libebml/
HOMEPAGE= http://www.matroska.org/
# LGPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
NO_REGRESS= Yes
USE_GMAKE= Yes
WRKSRC= ${WRKDIST}/make/linux
FAKE_FLAGS+= LIBebml_VERSION=${LIBebml_VERSION}
MAKE_FLAGS+= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (libebml-0.7.6.tar.bz2) = bb054799dfdf6bfa5dd2cf95416ff021
RMD160 (libebml-0.7.6.tar.bz2) = d389dba159de1c8e2a783b3cee483dceff277801
SHA1 (libebml-0.7.6.tar.bz2) = fe94f77d9f45529bce42ca16714882ce4d5ae843
SIZE (libebml-0.7.6.tar.bz2) = 56317

View File

@ -0,0 +1,43 @@
$OpenBSD: patch-make_linux_Makefile,v 1.1.1.1 2006/03/22 01:26:57 jolan Exp $
--- make/linux/Makefile.orig Tue Apr 19 01:56:06 2005
+++ make/linux/Makefile Tue Mar 21 18:12:09 2006
@@ -16,11 +16,11 @@ prefix=/boot/home/config
else
prefix=/usr/local
endif
-libdir=$(prefix)/lib
-includedir=$(prefix)/include/ebml
+libdir=$(PREFIX)/lib
+includedir=$(PREFIX)/include/ebml
# Programs
-CXX=g++
+#CXX=g++
LD=$(CXX)
AR = ar rcvu
RANLIB = ranlib
@@ -52,7 +52,7 @@ LIBS=
# Names
LIBRARY=libebml.a
LIBRARY_SO=libebml.so
-LIBRARY_SO_VER=libebml.so.0
+LIBRARY_SO_VER=libebml.so.${LIBebml_VERSION}
# source-files
sources:=$(wildcard ${SRC_DIR}*$(EXTENSION))
@@ -95,7 +95,6 @@ $(LIBRARY): $(objects)
$(LIBRARY_SO): $(objects_so)
$(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
- ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
clean:
rm -f $(objects) $(objects_so)
@@ -139,7 +138,6 @@ install_staticlib: $(LIBRARY)
install_sharedlib: $(LIBRARY_SO)
$(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir)
- ln -s $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO)
ifneq ($(wildcard .depend),)

View File

@ -0,0 +1,4 @@
The libebml library allows to read and write files using EBML (the
Extensible Binary Meta Language), a binary pendant to XML. Using
libebml makes it easier to extend a file format without breaking support
in older parsers.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/03/22 01:26:57 jolan Exp $
@lib lib/libebml.so.${LIBebml_VERSION}

View File

@ -0,0 +1,31 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/03/22 01:26:57 jolan Exp $
%%SHARED%%
include/ebml/
include/ebml/Debug.h
include/ebml/EbmlBinary.h
include/ebml/EbmlConfig.h
include/ebml/EbmlContexts.h
include/ebml/EbmlCrc32.h
include/ebml/EbmlDate.h
include/ebml/EbmlDummy.h
include/ebml/EbmlElement.h
include/ebml/EbmlEndian.h
include/ebml/EbmlFloat.h
include/ebml/EbmlHead.h
include/ebml/EbmlId.h
include/ebml/EbmlMaster.h
include/ebml/EbmlSInteger.h
include/ebml/EbmlStream.h
include/ebml/EbmlString.h
include/ebml/EbmlSubHead.h
include/ebml/EbmlTypes.h
include/ebml/EbmlUInteger.h
include/ebml/EbmlUnicodeString.h
include/ebml/EbmlVersion.h
include/ebml/EbmlVoid.h
include/ebml/IOCallback.h
include/ebml/MemIOCallback.h
include/ebml/StdIOCallback.h
include/ebml/c/
include/ebml/c/libebml_t.h
lib/libebml.a