wok-current view libevdev/receipt @ rev 25278

updated reptyr (0.7.0 -> 0.9.0)
author Hans-G?nter Theisgen
date Mon Jul 18 14:55:21 2022 +0100 (2022-07-18)
parents 5d79829fa876
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="libevdev"
4 VERSION="1.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Common functions for Xorg input drivers."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/libevdev/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#libevdev"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.freedesktop.org/software/libevdev/$TARBALL"
15 BUILD_DEPENDS="check-dev python" # doxygen
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 cook_copy_files *.so*
38 }