summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in2
-rw-r--r--package/fluxbox/Makefile41
-rw-r--r--package/imlib2/Makefile29
3 files changed, 72 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 9d29f7f11..8922d7900 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -186,6 +186,7 @@ source "package/glib/Config.in"
source "package/gtk+/Config.in"
source "package/heimdal/Config.in.lib"
source "package/id3lib/Config.in"
+source "package/imlib2/Config.in"
source "package/libao/Config.in"
source "package/libao/Config.in.lib"
source "package/libaudiofile/Config.in"
@@ -629,6 +630,7 @@ menu "X applications"
source "package/dillo/Config.in"
source "package/evilwm/Config.in"
source "package/firefox/Config.in"
+source "package/fluxbox/Config.in"
source "package/font-util/Config.in"
source "package/qingy/Config.in"
source "package/rxvt-unicode/Config.in"
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
diff --git a/package/imlib2/Makefile b/package/imlib2/Makefile
new file mode 100644
index 000000000..bc7f6ea14
--- /dev/null
+++ b/package/imlib2/Makefile
@@ -0,0 +1,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:= imlib2
+PKG_VERSION:= 1.4.4
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 20d59c7cda06742015baade6f5975415
+PKG_DESCR:= Version 2 of an advanced replacement library for libraries like libXpm
+PKG_SECTION:= libs
+PKG_DEPENDS:= libfreetype
+PKG_BUILDDEP:= libfreetype
+PKG_URL:= http://www.enlightenment.org/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,IMLIB2,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_IMLIB2)/usr/lib/imlib2/{filters,loaders}
+ ${CP} $(WRKINST)/usr/lib/libImlib2.so* $(IDIR_IMLIB2)/usr/lib
+ ${CP} $(WRKINST)/usr/lib/imlib2/filters/*.so \
+ $(IDIR_IMLIB2)/usr/lib/imlib2/filters/
+ ${CP} $(WRKINST)/usr/lib/imlib2/loaders/*.so \
+ $(IDIR_IMLIB2)/usr/lib/imlib2/loaders/
+
+include ${TOPDIR}/mk/pkg-bottom.mk