distribution/packages/sysutils/libevdev/package.mk

23 lines
687 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libevdev"
PKG_VERSION="1.13.1"
2022-07-10 16:20:13 +00:00
PKG_LICENSE="MIT"
2022-02-05 14:23:32 +00:00
PKG_SITE="http://www.freedesktop.org/wiki/Software/libevdev/"
2022-07-10 16:20:13 +00:00
PKG_URL="http://www.freedesktop.org/software/libevdev/${PKG_NAME}-${PKG_VERSION}.tar.xz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libevdev is a wrapper library for evdev devices."
PKG_BUILD_FLAGS="+pic"
2022-07-10 16:20:13 +00:00
PKG_TOOLCHAIN="meson"
2022-02-05 14:23:32 +00:00
2022-07-10 16:20:13 +00:00
PKG_MESON_OPTS_TARGET=" \
-Ddefault_library=shared \
-Ddocumentation=disabled \
-Dtests=disabled"
2022-02-05 14:23:32 +00:00
post_makeinstall_target() {
2022-07-10 16:20:13 +00:00
rm -rf ${INSTALL}/usr/bin
2022-02-05 14:23:32 +00:00
}