blob: 7ad664321a736a3c19f2438e90c99103847086d9 (
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.1.1
PKG_RELEASE:= 1
PKG_MD5SUM:= e0be927617be4ffc1ddc79513f4eb0f9
PKG_DESCR:= Fluxbox is an X11 window manager featuring tabs and an iconbar
PKG_SECTION:= x11/apps
PKG_DEPENDS:= libstdcxx
PKG_BUILDDEP:= libXpm
ifeq (${ADK_PACKAGE_FLUXBOX_WITH_IMLIB2},y)
PKG_BUILDDEP+= imlib2
endif
PKG_URL:= http://www.fluxbox.org
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
PKG_FLAVOURS:= WITH_IMLIB2
PKGFD_WITH_IMLIB2:= enable imlib2 support
PKGFS_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
|