pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/lzmalib Import lzmalib-0.0.1 as archivers/lz...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aae3346178dc
branches:  trunk
changeset: 546538:aae3346178dc
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Sep 04 12:07:15 2008 +0000

description:
Import lzmalib-0.0.1 as archivers/lzmalib.

This package includes a thin wrapper library of LZMA SDK written
by Igor Pavlov.

diffstat:

 archivers/lzmalib/DESCR            |   2 ++
 archivers/lzmalib/Makefile         |  21 +++++++++++++++++++++
 archivers/lzmalib/PLIST            |   7 +++++++
 archivers/lzmalib/buildlink3.mk    |  19 +++++++++++++++++++
 archivers/lzmalib/distinfo         |   6 ++++++
 archivers/lzmalib/patches/patch-aa |  24 ++++++++++++++++++++++++
 6 files changed, 79 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r 1387ea4c246d -r aae3346178dc archivers/lzmalib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lzmalib/DESCR   Thu Sep 04 12:07:15 2008 +0000
@@ -0,0 +1,2 @@
+This package includes a thin wrapper library of LZMA SDK written
+by Igor Pavlov.
diff -r 1387ea4c246d -r aae3346178dc archivers/lzmalib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lzmalib/Makefile        Thu Sep 04 12:07:15 2008 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 12:07:15 obache Exp $
+#
+
+DISTNAME=      lzmalib-0.0.1
+CATEGORIES=    archivers
+MASTER_SITES=  http://tokyocabinet.sourceforge.net/misc/
+
+MAINTAINER=    obache%NetBSD.org@localhost
+HOMEPAGE=      http://tokyocabinet.sourceforge.net/misc/
+COMMENT=       Thin wrapper library of LZMA
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake
+
+# Link with c++ instead (see also patch-aa)
+CONFIGURE_ENV+=        ac_cv_lib_stdcpp_main=no
+
+.include "../../mk/bsd.pkg.mk"
diff -r 1387ea4c246d -r aae3346178dc archivers/lzmalib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lzmalib/PLIST   Thu Sep 04 12:07:15 2008 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/04 12:07:15 obache Exp $
+bin/lzmacmd
+include/lzmalib.h
+lib/liblzma.a
+lib/liblzma.so
+lib/liblzma.so.1
+lib/liblzma.so.1.1.0
diff -r 1387ea4c246d -r aae3346178dc archivers/lzmalib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lzmalib/buildlink3.mk   Thu Sep 04 12:07:15 2008 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/04 12:07:15 obache Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LZMALIB_BUILDLINK3_MK:=        ${LZMALIB_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    lzmalib
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlzmalib}
+BUILDLINK_PACKAGES+=   lzmalib
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lzmalib
+
+.if ${LZMALIB_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.lzmalib+=        lzmalib>=0.0.1
+BUILDLINK_PKGSRCDIR.lzmalib?=  ../../archivers/lzmalib
+.endif # LZMALIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r 1387ea4c246d -r aae3346178dc archivers/lzmalib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lzmalib/distinfo        Thu Sep 04 12:07:15 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/04 12:07:15 obache Exp $
+
+SHA1 (lzmalib-0.0.1.tar.gz) = 638e511d1c6c5018f071b0f145bdfb242c34b6ce
+RMD160 (lzmalib-0.0.1.tar.gz) = caad5a009f3247ee1d0ee1500b90db5469ce1bd4
+Size (lzmalib-0.0.1.tar.gz) = 112202 bytes
+SHA1 (patch-aa) = 475d43320384887faf6d14c13d2f7b941327299e
diff -r 1387ea4c246d -r aae3346178dc archivers/lzmalib/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lzmalib/patches/patch-aa        Thu Sep 04 12:07:15 2008 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/04 12:07:15 obache Exp $
+
+Link with c++ instead of cc -lstdc++ to depended package easy to link.
+
+--- Makefile.in.orig   2008-07-23 08:40:09.000000000 +0000
++++ Makefile.in
+@@ -125,7 +125,7 @@ liblzma.a : $(LIBOBJFILES)
+ 
+ 
+ liblzma.so.$(LIBVER).$(LIBREV).0 : $(LIBOBJFILES)
+-      $(CC) -shared -Wl,-soname,liblzma.so.$(LIBVER) -o $@ $(LIBOBJFILES) \
++      $(CXX) -shared -Wl,-soname,liblzma.so.$(LIBVER) -o $@ $(LIBOBJFILES) \
+         $(LDFLAGS) $(LIBS)
+ 
+ 
+@@ -138,7 +138,7 @@ liblzma.so : liblzma.so.$(LIBVER).$(LIBR
+ 
+ 
+ liblzma.$(LIBVER).$(LIBREV).0.dylib : $(LIBOBJFILES)
+-      $(CC) -dynamiclib -o $@ \
++      $(CXX) -dynamiclib -o $@ \
+         -install_name $(LIBDIR)/liblzma.$(LIBVER).dylib \
+         -current_version $(LIBVER).$(LIBREV).0 -compatibility_version $(LIBVER) \
+         $(LIBOBJFILES) $(LDFLAGS) $(LIBS)



Home | Main Index | Thread Index | Old Index