wok-next view libinput/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0e7893ac206d |
children | b5f2a6ab88b6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libinput"
4 VERSION="1.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Library that handles input devices for display servers"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/libinput/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7driver.html#libinput"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://www.freedesktop.org/software/libinput/$TARBALL"
15 BUILD_DEPENDS="mtdev-dev eudev-dev libevdev-dev cairo-dev gtk+3-dev check-dev"
16 SPLIT="libinput-debug-gui libinput libinput-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 --disable-libwacom \
22 --with-udev-dir=/lib/udev \
23 --disable-documentation \
24 --without-libunwind \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make && make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-gui)
33 copy libinput-debug-gui
34 CAT="x-window|debug GUI"
35 DEPENDS="cairo eudev glib gtk+3 libevdev libinput"
36 ;;
37 libinput)
38 copy @std @rm
39 DEPENDS="eudev libevdev mtdev"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libinput eudev-dev"
44 ;;
45 esac
46 }