wok-current annotate libevdev/receipt @ rev 24737
updated libevdev and libevdev-dev (1.9.0 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:39:00 2022 +0100 (2022-03-16) |
parents | 5d79829fa876 |
children | 5926178cd6fa |
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@24737 | 4 VERSION="1.12.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@24737 | 13 WGET_URL="https://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 |
pascal@24072 | 17 current_version() |
pascal@24072 | 18 { |
pascal@24072 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 21 } |
pascal@24072 | 22 |
Hans-G?nter@22265 | 23 # Rules to configure and make the package. |
Hans-G?nter@22265 | 24 compile_rules() |
Hans-G?nter@22265 | 25 { |
Hans-G?nter@22265 | 26 ./configure \ |
Hans-G?nter@22265 | 27 --disable-static \ |
Hans-G?nter@22265 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@22265 | 29 make && |
Hans-G?nter@24737 | 30 make install DESTDIR=$DESTDIR |
Hans-G?nter@22265 | 31 } |
Hans-G?nter@22265 | 32 |
Hans-G?nter@22265 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22265 | 34 genpkg_rules() |
Hans-G?nter@22265 | 35 { |
Hans-G?nter@24737 | 36 cook_copy_folders bin |
Hans-G?nter@24737 | 37 cook_copy_files *.so* |
Hans-G?nter@22265 | 38 } |