diff --git a/srcpkgs/libev-devel b/srcpkgs/libev-devel new file mode 120000 index 0000000000..4724a0cdb6 --- /dev/null +++ b/srcpkgs/libev-devel @@ -0,0 +1 @@ +libev \ No newline at end of file diff --git a/srcpkgs/libev/depends b/srcpkgs/libev/depends new file mode 100644 index 0000000000..c2df550793 --- /dev/null +++ b/srcpkgs/libev/depends @@ -0,0 +1,2 @@ +abi_depends=">=4.04" +api_depends="${abi_depends}" diff --git a/srcpkgs/libev/libev-devel.template b/srcpkgs/libev/libev-devel.template new file mode 100644 index 0000000000..db8e34bfe6 --- /dev/null +++ b/srcpkgs/libev/libev-devel.template @@ -0,0 +1,16 @@ +# Template file for 'libdev-devel'. +# +short_desc="${short_desc} (Development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() +{ + vmove usr/include usr + + # Conflicts with libevent, not necessary. + rm -f ${DESTDIR}/usr/include/event.h + + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/libev/template b/srcpkgs/libev/template new file mode 100644 index 0000000000..bcd971c099 --- /dev/null +++ b/srcpkgs/libev/template @@ -0,0 +1,19 @@ +# Template file for 'libev' +pkgname=libev +version=4.04 +build_style=gnu-configure +homepage="http://software.schmorp.de/pkg/${pkgname}.html" +distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.gz" +short_desc="High-performance event loop loosely modelled after libevent" +maintainer="davehome " +license="GPL-2, BSD" +checksum=ab3a09e967e3b868055cd9363fd236aa093f8643d19cc7042e90e0dfe905b012 +long_desc=" + A full-featured and high-performance (see benchmark) event loop that is + loosely modelled after libevent, but without its limitations and bugs. It is + used, among others, in the GNU Virtual Private Ethernet and rxvt-unicode + packages, and in the Deliantra MORPG Server and Client." + +subpackages="${pkgname}-devel" + +Add_dependency run glibc