summaryrefslogtreecommitdiff
path: root/package/fluxbox/Makefile
blob: c913d76e3c7e79f63dd0b3db5d7eff1a26512827 (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
32
33
34
35
36
37
38
39
40
# 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:=		fluxbox
PKG_VERSION:=		1.3.2
PKG_RELEASE:=		1
PKG_MD5SUM:=		52e76de0ae96d8c5e87374661d0c7112
PKG_DESCR:=		Fluxbox is an X11 window manager featuring tabs and an iconbar
PKG_SECTION:=		x11/apps
PKG_DEPENDS:=		libstdcxx
PKG_BUILDDEP:=		libXpm libXft
PKG_URL:=		http://www.fluxbox.org/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=fluxbox/}

PKG_ARCH_DEPENDS:=	!avr32

PKG_FLAVOURS_FLUXBOX:=	WITH_IMLIB2
PKGFD_WITH_IMLIB2:=	enable imlib2 support
PKGFS_WITH_IMLIB2:=	imlib2
PKGFB_WITH_IMLIB2:=	imlib2

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,FLUXBOX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

ifeq (${ADK_PACKAGE_FLUXBOX_WITH_IMLIB2},y)
CONFIGURE_ARGS+=	--enable-imlib2
else
CONFIGURE_ARGS+=	--disable-imlib2
endif

post-install:
	$(INSTALL_DIR) $(IDIR_FLUXBOX)/usr/{bin,share}
	$(INSTALL_BIN) $(WRKINST)/usr/bin/* \
		$(IDIR_FLUXBOX)/usr/bin
	${CP} ${WRKINST}/usr/share/fluxbox ${IDIR_FLUXBOX}/usr/share/

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