summaryrefslogtreecommitdiff
path: root/package/xbindkeys/Makefile
blob: c027c8f04c3ed8641ad978545316c8779d1f04a9 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		xbindkeys
PKG_VERSION:=		1.8.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		393dd74f85850a4ba0803b5a78bc598b
PKG_DESCR:=		keybindings for X11
PKG_BUILDDEP:=		libX11
PKG_SECTION:=		x11/apps
PKG_SITES:=		http://www.nongnu.org/xbindkeys/

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XBINDKEYS,$(PKG_NAME),$(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

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

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