summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-14 14:39:00 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-14 14:39:00 +0200
commit37aacb979aa9f8f64ae772f636a631b44051b3d9 (patch)
tree022a08fa91b512f6ff03ee7a04c339b0d437304d /package
parent71d17146ab098461c45cff3ea2f071e39a02f403 (diff)
port dillo and all needed requirements
Diffstat (limited to 'package')
-rw-r--r--package/dillo/Makefile30
-rw-r--r--package/fltk/Makefile27
-rw-r--r--package/fltk/patches/patch-makeinclude_in11
-rw-r--r--package/fltk/patches/patch-makeinclude_in.orig11
-rw-r--r--package/freeglut/Makefile22
-rw-r--r--package/libXi/Makefile27
6 files changed, 128 insertions, 0 deletions
diff --git a/package/dillo/Makefile b/package/dillo/Makefile
new file mode 100644
index 000000000..07e2de442
--- /dev/null
+++ b/package/dillo/Makefile
@@ -0,0 +1,30 @@
+# 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:= dillo
+PKG_VERSION:= 2.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= f8bcd62093f178bed81e46cc54e73f42
+PKG_DESCR:= small graphical web browser
+PKG_SECTION:= x11
+PKG_DEPENDS:= libfltk libxi libiconv libpng zlib libjpeg
+PKG_BUILDDEP+= fltk libiconv jpeg libpng zlib
+PKG_URL:= http://www.dillo.org/
+PKG_SITES:= http://www.dillo.org/download/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,DILLO,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+TLDFLAGS+= -liconv
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_DILLO)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/dillo \
+ $(IDIR_DILLO)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fltk/Makefile b/package/fltk/Makefile
new file mode 100644
index 000000000..66a6bbff3
--- /dev/null
+++ b/package/fltk/Makefile
@@ -0,0 +1,27 @@
+# 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:= fltk
+PKG_VERSION:= 2.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 557544badbacca4ee1ebb2448f6e1f8a
+PKG_DESCR:= fast light toolkit
+PKG_SECTION:= libs
+PKG_BUILDDEP+= libX11 libXi MesaLib freeglut
+PKG_URL:= http://www.fltk.org/
+PKG_SITES:= http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/snapshots/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.x-r7513.tar.bz2
+WRKDIST= ${WRKDIR}/${PKG_NAME}-2.0.x-r7513
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBFLTK,libfltk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_LIBFLTK)/usr/lib
+ $(CP) ${WRKINST}/usr/lib/libfltk*.so* $(IDIR_LIBFLTK)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fltk/patches/patch-makeinclude_in b/package/fltk/patches/patch-makeinclude_in
new file mode 100644
index 000000000..7c2fd2f8b
--- /dev/null
+++ b/package/fltk/patches/patch-makeinclude_in
@@ -0,0 +1,11 @@
+--- fltk-2.0.x-r7513.orig/makeinclude.in 2006-04-11 00:06:06.000000000 +0200
++++ fltk-2.0.x-r7513/makeinclude.in 2010-06-13 17:18:11.503473158 +0200
+@@ -45,7 +45,7 @@ NROFF = @NROFF@
+ RM = rm -f
+ RMDIR = rm -rf
+ SHELL = /bin/sh
+-STRIP = strip
++STRIP = echo
+
+ # compiler names:
+ CC = @CC@
diff --git a/package/fltk/patches/patch-makeinclude_in.orig b/package/fltk/patches/patch-makeinclude_in.orig
new file mode 100644
index 000000000..ddee413e3
--- /dev/null
+++ b/package/fltk/patches/patch-makeinclude_in.orig
@@ -0,0 +1,11 @@
+--- fltk-2.0.x-r7513.orig/makeinclude.in 2006-04-11 00:06:06.000000000 +0200
++++ fltk-2.0.x-r7513/makeinclude.in 2010-06-13 17:15:29.633155678 +0200
+@@ -45,7 +45,7 @@ NROFF = @NROFF@
+ RM = rm -f
+ RMDIR = rm -rf
+ SHELL = /bin/sh
+-STRIP = strip
++STRIP =
+
+ # compiler names:
+ CC = @CC@
diff --git a/package/freeglut/Makefile b/package/freeglut/Makefile
new file mode 100644
index 000000000..40b91c7df
--- /dev/null
+++ b/package/freeglut/Makefile
@@ -0,0 +1,22 @@
+# 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:= freeglut
+PKG_VERSION:= 2.6.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 39f0f2de89f399529d2b981188082218
+PKG_DESCR:= OpenGL Utility Toolkit
+PKG_SECTION:= libs
+PKG_URL:= http://www.freeglut.org/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freeglut/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,FREEGLUT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXi/Makefile b/package/libXi/Makefile
new file mode 100644
index 000000000..097b902d3
--- /dev/null
+++ b/package/libXi/Makefile
@@ -0,0 +1,27 @@
+# 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:= libXi
+PKG_VERSION:= 1.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 1c038312e4f9b61fe72e52d0f59a01d5
+PKG_DESCR:= X Window System client interface to the XINPUT extension to the X protocol.
+PKG_SECTION:= x11
+PKG_BUILDDEP+= xproto xextproto libXext
+PKG_URL:= http://xorg.freedesktop.org/
+PKG_SITES:= http://xorg.freedesktop.org/releases/individual/lib/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_LIBXI)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libXi*.so* \
+ $(IDIR_LIBXI)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk