diff --git a/common/shlibs b/common/shlibs index 743423f890..39ec28b027 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1418,3 +1418,4 @@ libSDL2-2.0.so.0 SDL2-2.0.0_1 libcacard.so.0 libcacard-1.6.1_1 libxcb-cursor.so.0 xcb-util-cursor-0.1.0_1 libgldi.so.3 libgldi-3.3.1_1 +libevdev.so.1 libevdev-0.4_1 diff --git a/srcpkgs/libevdev-devel b/srcpkgs/libevdev-devel new file mode 120000 index 0000000000..76747bd09e --- /dev/null +++ b/srcpkgs/libevdev-devel @@ -0,0 +1 @@ +libevdev \ No newline at end of file diff --git a/srcpkgs/libevdev/template b/srcpkgs/libevdev/template new file mode 100644 index 0000000000..c81bc7ecb5 --- /dev/null +++ b/srcpkgs/libevdev/template @@ -0,0 +1,30 @@ +# Template file for 'libevdev' +pkgname=libevdev +version=0.4 +revision=1 +build_style=gnu-configure +configure_args="--disable-gcov" +hostmakedepends="python" +short_desc="Wrapper library for evdev devices" +maintainer="Juan RP " +license="MIT" +homepage="http://www.freedesktop.org/wiki/Software/libevdev/" +distfiles="http://freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz" +checksum=ba6becd3f41430aa290ddf53694909fb46b9a65d5fe264e5fc2a4f5169484f42 + +libevdev-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +} + +libevdev_package() { + pkg_install() { + vmove all + } +}