summaryrefslogtreecommitdiff
path: root/package/imlib2
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/imlib2
parent8d0f44c0762a52bbe5d3313382295dbc2e1fcb35 (diff)
port fluxbox and it's (optional) dependency imlib2
Diffstat (limited to 'package/imlib2')
-rw-r--r--package/imlib2/Makefile29
1 files changed, 29 insertions, 0 deletions
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