wok-current view libevdev/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 3e62a2b10d0c |
children | 2a2477f51c27 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libevdev"
4 VERSION="1.9.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="http://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 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }