summaryrefslogtreecommitdiff
path: root/package/xbindkeys/Makefile
blob: f25892ac0c8175a4173cf3622679217354fa0bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		xbindkeys
PKG_VERSION:=		1.8.3
PKG_RELEASE:=		1
PKG_HASH:=		ca8033ffdc19f382ec35796318dd6a9e17f04aac1d54d75fb972db6d964f56b4
PKG_DESCR:=		keybindings for x11
PKG_BUILDDEP:=		libX11
PKG_SECTION:=		x11/utils
PKG_SITES:=		http://www.nongnu.org/xbindkeys/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XBINDKEYS,xbindkeys,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--disable-guile \
			--disable-tk
CONFIGURE_ENV+=		ac_cv_func_malloc_0_nonnull=yes
TARGET_LDFLAGS+=	-lX11

xbindkeys-install:
	$(INSTALL_DIR) $(IDIR_XBINDKEYS)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/xbindkeys \
		$(IDIR_XBINDKEYS)/usr/bin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk