summaryrefslogtreecommitdiff
path: root/package/fluxbox
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-06-15 22:39:36 +0200
committerPhil Sutter <phil@nwl.cc>2010-06-20 16:24:51 +0200
commit70891937006fcfe387e4a1ba5d03acd6f5f37662 (patch)
treeb1a049bfa03d982c76839c6ccaa2a8b0eeba3e7c /package/fluxbox
parent8d0f44c0762a52bbe5d3313382295dbc2e1fcb35 (diff)
port fluxbox and it's (optional) dependency imlib2
Diffstat (limited to 'package/fluxbox')
-rw-r--r--package/fluxbox/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/fluxbox/Makefile b/package/fluxbox/Makefile
new file mode 100644
index 000000000..89c3df5ed
--- /dev/null
+++ b/package/fluxbox/Makefile
@@ -0,0 +1,41 @@
+# 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
+PKG_DEPENDS:= libstdcxx
+PKG_BUILDDEP:= libXpm
+ifeq (${ADK_PACKAGE_FLUXBOX_WITH_IMLIB2},y)
+PKG_DEPENDS+= imlib2
+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
+
+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
+CONFIGURE_ARGS+= --enable-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