OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 27-Aug-2007 19:44:03
Branch: HEAD Handle: 2007082718440200
Modified files:
openpkg-src/libevent libevent.spec
Log:
add C++ bindings
Summary:
Revision Changes Path
1.42 +16 -4 openpkg-src/libevent/libevent.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/libevent/libevent.spec
============================================================================
$ cvs diff -u -r1.41 -r1.42 libevent.spec
--- openpkg-src/libevent/libevent.spec 16 Aug 2007 15:22:44 -0000
1.41
+++ openpkg-src/libevent/libevent.spec 27 Aug 2007 17:44:02 -0000
1.42
@@ -22,6 +22,10 @@
## SUCH DAMAGE.
##
+# package version
+%define V_libevent 1.3d
+%define V_libeventxx 0.7
+
# package information
Name: libevent
Summary: Asynchronous Event Notification Library
@@ -32,11 +36,12 @@
Class: PLUS
Group: Network
License: BSD
-Version: 1.3d
-Release: 20070816
+Version: %{V_libevent}
+Release: 20070827
# list of sources
-Source0: http://monkey.org/~provos/libevent-%{version}.tar.gz
+Source0: http://monkey.org/~provos/libevent-%{V_libevent}.tar.gz
+Source1:
http://www.llucax.com.ar/~luca/eventxx/releases/eventxx-%{V_libeventxx}.tar.gz
Patch0: libevent.patch
# build information
@@ -54,13 +59,19 @@
%track
prog libevent = {
- version = %{version}
+ version = %{V_libevent}
url = http://monkey.org/~provos/libevent/
regex = libevent-(__VER__)\.tar\.gz
}
+ prog libevent:libeventxx = {
+ version = %{V_libeventxx}
+ url = http://www.llucax.com.ar/~luca/eventxx/releases/
+ regex = eventxx-(__VER__)\.tar\.gz
+ }
%prep
%setup -q
+ %setup -q -T -D -a 1
%patch -p0
%build
@@ -86,6 +97,7 @@
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -p $RPM_BUILD_ROOT%{l_prefix}/man/man3
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT SUBDIRS=.
+ %{l_shtool} install -c -m 644 eventxx-*/eventxx
$RPM_BUILD_ROOT%{l_prefix}/include/
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/event_rpcgen.py
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]