diff --git a/common/shlibs b/common/shlibs index 84beadde0cf..7d00fddfc91 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2461,3 +2461,4 @@ libR.so R-3.3.0_2 libmarkdown.so.2 discount-2.2.0_3 libkeystone.so.0 keystone-0.9_1 libmate-slab.so.0 libmate-control-center-1.14.0_2 +libuev.so.1 libuev-1.4.2_1 diff --git a/srcpkgs/libuev-devel b/srcpkgs/libuev-devel new file mode 120000 index 00000000000..b26bd9fe50e --- /dev/null +++ b/srcpkgs/libuev-devel @@ -0,0 +1 @@ +libuev \ No newline at end of file diff --git a/srcpkgs/libuev/template b/srcpkgs/libuev/template new file mode 100644 index 00000000000..5089e242665 --- /dev/null +++ b/srcpkgs/libuev/template @@ -0,0 +1,33 @@ +# Template file for 'libuev' +pkgname=libuev +version=1.4.2 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="Lightweight event loop library" +maintainer="Duncaen " +license="MIT" +homepage="https://github.com/troglobit/libuev" +distfiles="https://github.com/troglobit/libuev/archive/v${version}.tar.gz" +checksum=a4100bcf31f6d296ed23d52a638b0b7c0858e5346800ff0d4722b62bc95024d5 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense LICENSE + rm -f ${DESTDIR}/usr/share/doc/libuev/LICENSE +} + +libuev-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/doc + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}