pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/libtlen Import libtlen from pkgsrc-wip. Packaged...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/222319017b92
branches:  trunk
changeset: 469393:222319017b92
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Feb 22 21:49:42 2004 +0000

description:
Import libtlen from pkgsrc-wip.  Packaged by Michal Pasternak, and
slightly modified by me.

Libtlen is a client library to access tlen.pl IM/chat system.

diffstat:

 chat/libtlen/DESCR            |   1 +
 chat/libtlen/Makefile         |  21 ++++++++++++++++++
 chat/libtlen/PLIST            |  21 ++++++++++++++++++
 chat/libtlen/buildlink3.mk    |  22 +++++++++++++++++++
 chat/libtlen/distinfo         |   5 ++++
 chat/libtlen/patches/patch-aa |  49 +++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 119 insertions(+), 0 deletions(-)

diffs (143 lines):

diff -r 4bea976f31b1 -r 222319017b92 chat/libtlen/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libtlen/DESCR        Sun Feb 22 21:49:42 2004 +0000
@@ -0,0 +1,1 @@
+Libtlen is a client library to access tlen.pl IM/chat system.
diff -r 4bea976f31b1 -r 222319017b92 chat/libtlen/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libtlen/Makefile     Sun Feb 22 21:49:42 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
+#
+
+DISTNAME=      libtlen-20040212
+CATEGORIES=    chat
+MASTER_SITES=  http://www.libtlen.eu.org/snapshots/archive/
+
+MAINTAINER=    dotz%irc.pl@localhost
+HOMEPAGE=      http://www.libtlen.eu.org/
+COMMENT=       Library to access tlen.pl IM system
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=                yes
+USE_PKGLOCALEDIR=      yes
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+
+INSTALLATION_DIRS=     lib
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4bea976f31b1 -r 222319017b92 chat/libtlen/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libtlen/PLIST        Sun Feb 22 21:49:42 2004 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
+include/libtlen/asciitab.h
+include/libtlen/hashtable.h
+include/libtlen/iasciitab.h
+include/libtlen/latin1tab.h
+include/libtlen/libtlen.h
+include/libtlen/nametab.h
+include/libtlen/pool.h
+include/libtlen/str.h
+include/libtlen/utf8tab.h
+include/libtlen/xmldef.h
+include/libtlen/xmlparse.h
+include/libtlen/xmlrole.h
+include/libtlen/xmltok.h
+include/libtlen/xmltok_impl.h
+lib/libtlen.a
+lib/libtlen.la
+lib/libtlen.so
+lib/libtlen.so.1
+lib/libtlen.so.1.5
+@dirrm include/libtlen
diff -r 4bea976f31b1 -r 222319017b92 chat/libtlen/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libtlen/buildlink3.mk        Sun Feb 22 21:49:42 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
+#
+# This Makefile fragment is included by packages that use libtlen.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBTLEN_BUILDLINK3_MK:=        ${LIBTLEN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libtlen
+.endif
+
+.if !empty(LIBTLEN_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   libtlen
+BUILDLINK_DEPENDS.libtlen+=            libtlen>=20040212
+BUILDLINK_PKGSRCDIR.libtlen?=          ../../wip/libtlen
+
+.endif # LIBTLEN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 4bea976f31b1 -r 222319017b92 chat/libtlen/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libtlen/distinfo     Sun Feb 22 21:49:42 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
+
+SHA1 (libtlen-20040212.tar.gz) = 26a81403ed34da5fa0b3c4663ffc82e20e5b13fb
+Size (libtlen-20040212.tar.gz) = 183309 bytes
+SHA1 (patch-aa) = e1ce28c5ec1f494a9bc3f438d4bd468e680cfc9b
diff -r 4bea976f31b1 -r 222319017b92 chat/libtlen/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libtlen/patches/patch-aa     Sun Feb 22 21:49:42 2004 +0000
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
+
+--- lib/Makefile.in.orig       2003-01-16 10:33:32.000000000 +0000
++++ lib/Makefile.in
+@@ -33,7 +33,7 @@ STATIC = libtlen.a
+ HEADERS = *.h
+ libincludedir = /libtlen
+ 
+-all: static shared test-client
++all: static test-client
+ static: $(STATIC)
+ shared: $(SHARED)
+ test-client: testclient
+@@ -49,15 +49,17 @@ static: $(STATIC)
+ shared: $(SHARED)
+ 
+ $(STATIC): $(OBJS)
+-      $(AR) r $(STATIC) $(OBJS)
+-      $(RANLIB) $(STATIC)
++      ${LIBTOOL} --mode=link ${CC} -o ${STATIC:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info ${VERSION_MAJOR}:${VERSION_MINOR}
++
++%.o: %.c
++      ${LIBTOOL} --mode=compile ${CC} -c ${CPPFLAGS} ${CFLAGS} $< -o $@
+ 
+ $(SHARED): $(OBJS)
+       $(CC) -g -O2 -shared -Wl,-soname,libtlen.so.$(VERSION_MAJOR) -o $(SHARED) $(OBJS) $(LIBS) -lc
+       $(LN_S) -f $(SHARED) $(SHAREDM)
+       $(LN_S) -f $(SHARED) $(SHAREDMM)
+ 
+-install: install-shared install-static install-devel
++install: install-static install-devel
+ 
+ install-shared:
+       $(INSTALL) -d $(DESTDIR)$(libdir)
+@@ -66,12 +68,11 @@ install-shared:
+       cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDMM)
+ 
+ install-static:
+-      $(INSTALL) -d $(DESTDIR)$(libdir)
+-      $(INSTALL) -m 755 $(STATIC) $(DESTDIR)$(libdir)
++      ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${STATIC:.a=.la} ${PREFIX}/lib
+ 
+ install-devel:
+       $(INSTALL) -d $(DESTDIR)$(includedir)$(libincludedir)
+       $(INSTALL) -m 644 $(HEADERS) $(DESTDIR)$(includedir)$(libincludedir)
+ 
+ testclient: $(STATIC) testclient.c
+-      $(CC) -Wall -ggdb -o testclient testclient.c libtlen.a $(LIBS)
++      ${LIBTOOL} --mode=link $(CC) -Wall -o testclient testclient.c libtlen.la $(LIBS)



Home | Main Index | Thread Index | Old Index