wok annotate libevdev/receipt @ rev 22265

created recipes for libevdev and libevdev-dev
author Hans-G?nter Theisgen
date Wed Nov 13 09:04:54 2019 +0100 (2019-11-13)
parents
children 3e62a2b10d0c
rev   line source
Hans-G?nter@22265 1 # SliTaz package receipt.
Hans-G?nter@22265 2
Hans-G?nter@22265 3 PACKAGE="libevdev"
Hans-G?nter@22265 4 VERSION="1.8.0"
Hans-G?nter@22265 5 CATEGORY="x-window"
Hans-G?nter@22265 6 SHORT_DESC="Common functions for Xorg input drivers."
Hans-G?nter@22265 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@22265 8 LICENSE="other"
Hans-G?nter@22265 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/libevdev/"
Hans-G?nter@22265 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#libevdev"
Hans-G?nter@22265 11
Hans-G?nter@22265 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22265 13 WGET_URL="http://www.freedesktop.org/software/libevdev/$TARBALL"
Hans-G?nter@22265 14
Hans-G?nter@22265 15 BUILD_DEPENDS="check-dev python" # doxygen
Hans-G?nter@22265 16
Hans-G?nter@22265 17 # Rules to configure and make the package.
Hans-G?nter@22265 18 compile_rules()
Hans-G?nter@22265 19 {
Hans-G?nter@22265 20 ./configure \
Hans-G?nter@22265 21 --disable-static \
Hans-G?nter@22265 22 $CONFIGURE_ARGS &&
Hans-G?nter@22265 23 make &&
Hans-G?nter@22265 24 make DESTDIR=$DESTDIR install
Hans-G?nter@22265 25 }
Hans-G?nter@22265 26
Hans-G?nter@22265 27 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@22265 28 genpkg_rules()
Hans-G?nter@22265 29 {
Hans-G?nter@22265 30 mkdir -p $fs/usr/lib
Hans-G?nter@22265 31
Hans-G?nter@22265 32 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22265 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22265 34 }