diff --git a/package/public/pwlib/pwlib.conf b/package/public/pwlib/pwlib.conf new file mode 100644 index 000000000..bbbd7f4c7 --- /dev/null +++ b/package/public/pwlib/pwlib.conf @@ -0,0 +1,54 @@ + +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/kasc/openh323/openh323.conf +# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +# var_append makeopt " " "opt" +# var_append makeinstopt " " "PREFIX=$root/$prefix" + +pwlib_preconf() { + if pkginstalled openldap; then + var_append configprefix ' ' \ + 'CPPFLAGS="-I${pkg_openldap_prefix}/include"' + var_append configprefix ' ' \ + 'LDFLAGS="-L${pkg_openldap_prefix}/lib"' + var_append confopt ' ' '--enable-openldap' + fi +# var_append confopt ' ' '--enable-plugins' +} + +pwlib_premake() { + pkginstalled openldap && var_append makeopt ' ' 'CFLAGS="-I${pkg_openldap_prefix}/include"' +} + +pwlib_inmake() { + rm -rf $libdir/libpt.so $root/$prefix/include/pt{,c}lib + + mkdir -p $datadir/pwlib + cp -a version.h $datadir/pwlib +} + +hook_add preconf 3 pwlib_preconf +hook_add premake 3 pwlib_premake +hook_add inmake 3 pwlib_inmake + +var_remove GCC3_WRAPPER_INSERT " " "-fstack-protector" + diff --git a/package/public/pwlib/pwlib.desc b/package/public/pwlib/pwlib.desc new file mode 100644 index 000000000..92b863f39 --- /dev/null +++ b/package/public/pwlib/pwlib.desc @@ -0,0 +1,62 @@ + +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/kasc/openh323/openh323.desc +# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +[I] Multi-platform class library + +[T] PWLib is a moderately large class library that has its genesis many +[T] years ago as a method to product applications to run on both +[T] Microsoft Windows and Unix X-Windows systems. It also was to have a +[T] Macintosh port as well but this never eventuated. +[T] +[T] Since then the system has grown to having quite good application to +[T] areas other than mere Windows GUI portability. Classes for I/O +[T] portability, multi-threading portability, aid in producing unix +[T] daemons and NT services portably and all sorts of internet protocols +[T] were added over the years. +[T] +[T] All this over and above basic "container" classes such as arrays, +[T] linear lists, sorted lists (RB Tree) and dictionaries (hash tables) +[T] which were all created before STL became the answer to all our prayers. +[T] Unfortunately, due to intertia and the GNU C++ inadequate support of +[T] templates, this library will probably not be ported to STL in the near +[T] future. +[T] +[T] The library was used extensively for all our in-house products. Then +[T] we decided to support the open H323 project by throwing in some of the +[T] code written for one of our products. Thus, required PWLib so it got +[T] thrown into the open source world as well. + +[U] http://www.openh323.org/ + +[A] Equivalence Pty Ltd (http://www.equival.com) +[M] The ROCK Linux Project + +[C] extra/network extra/multimedia + +[L] MPL +[S] Stable +[V] 1.10.2 +[P] X -?---5---9 180.500 + +[D] 4192333637 pwlib-v1_10_2-src.tar.gz http://dl.sourceforge.net/openh323/ +