# HG changeset patch # User Hans-G?nter Theisgen # Date 1573632294 -3600 # Node ID b5ab015a48ad3eca034d03125b681893fc197a2b # Parent bf4253eaa18a93fe45fb049587893dab97692aae created recipes for libevdev and libevdev-dev diff -r bf4253eaa18a -r b5ab015a48ad libevdev-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libevdev-dev/receipt Wed Nov 13 09:04:54 2019 +0100 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="libevdev-dev" +VERSION="1.8.0" +CATEGORY="x-window" +SHORT_DESC="Common functions for Xorg input drivers - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="other" +WEB_SITE="https://www.freedesktop.org/wiki/Software/libevdev/" +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#libevdev" + +WANTED="libevdev" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r bf4253eaa18a -r b5ab015a48ad libevdev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libevdev/receipt Wed Nov 13 09:04:54 2019 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="libevdev" +VERSION="1.8.0" +CATEGORY="x-window" +SHORT_DESC="Common functions for Xorg input drivers." +MAINTAINER="maintainer@slitaz.org" +LICENSE="other" +WEB_SITE="https://www.freedesktop.org/wiki/Software/libevdev/" +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#libevdev" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="http://www.freedesktop.org/software/libevdev/$TARBALL" + +BUILD_DEPENDS="check-dev python" # doxygen + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}