blob: 08d7f5b52af84d43fde6a0eb075b25d990ea5213 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Enable NumLock in X11 sessions"
2HOMEPAGE = "http://home.kde.org/~seli/numlockx/"
3SECTION = "x11/apps"
4LICENSE = "MIT-X"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047"
6DEPENDS = "virtual/libx11 libxtst"
7
8SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
11SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"
12
13inherit autotools distro_features_check
14# depends on virtual/libx11
15REQUIRED_DISTRO_FEATURES = "x11"
16
17EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
18 --x-libraries=${STAGING_LIBDIR}"
19
20do_configure_prepend() {
21 # remove this from acinclude.m4 or build fails
22 sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4
23}