Added libevent-1.4.9 template.
--HG-- extra : convert_revision : f192760917981fadf814214d8a1a35b5c45714d1
This commit is contained in:
parent
744b2fc5fc
commit
d4739a0245
3 changed files with 40 additions and 0 deletions
1
templates/libevent-devel
Symbolic link
1
templates/libevent-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libevent
|
18
templates/libevent/devel.template
Normal file
18
templates/libevent/devel.template
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'libevent-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libevent
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
}
|
21
templates/libevent/template
Normal file
21
templates/libevent/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'libevent'
|
||||
pkgname=libevent
|
||||
sourcepkg=$pkgname
|
||||
version=1.4.9
|
||||
wrksrc="$pkgname-$version-stable"
|
||||
distfiles="http://www.monkey.org/~provos/$pkgname-$version-stable.tar.gz"
|
||||
build_style=gnu_configure
|
||||
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
|
||||
short_desc="Abstract asynchronous event notification library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=f5c72e07db5554e9c888dda6a5f7feb86f266e98ffa3f7cdb1e66b030d1d2cbf
|
||||
long_desc="
|
||||
The libevent API provides a mechanism to execute a callback function
|
||||
when a specific event occurs on a file descriptor or after a timeout
|
||||
has been reached. libevent is meant to replace the asynchronous event
|
||||
loop found in event driven network servers. An application just needs
|
||||
to call event_dispatch() and can then add or remove events dynamically
|
||||
without having to change the event loop."
|
||||
|
||||
subpackages="devel"
|
||||
Add_dependency full glibc
|
Loading…
Reference in a new issue