summaryrefslogtreecommitdiff
path: root/package/deco
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/deco
Initial import
Diffstat (limited to 'package/deco')
-rw-r--r--package/deco/Config.in10
-rw-r--r--package/deco/Makefile30
-rw-r--r--package/deco/ipkg/deco.control5
-rw-r--r--package/deco/patches/100-tty.c.patch11
4 files changed, 56 insertions, 0 deletions
diff --git a/package/deco/Config.in b/package/deco/Config.in
new file mode 100644
index 000000000..3bdde9a21
--- /dev/null
+++ b/package/deco/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_DECO
+ prompt "deco.............................. Text-based full featured file manager"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBNCURSES
+ help
+ A clone of Norton Commander for Unix. Text-based, full featured
+ file manager.
+
+ http://deco.sourceforge.net/
diff --git a/package/deco/Makefile b/package/deco/Makefile
new file mode 100644
index 000000000..0a7bb2619
--- /dev/null
+++ b/package/deco/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# 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:= deco
+PKG_VERSION:= 39
+PKG_RELEASE:= 1
+PKG_MD5SUM:= f77f60e8be0cae1f814cba1ef61bf4d0
+DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tgz
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=deco/}
+WRKDIST= ${WRKDIR}/${PKG_NAME}${PKG_VERSION}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,DECO,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_DECO}/usr/bin
+ ${INSTALL_DIR} ${IDIR_DECO}/usr/lib/deco
+ ${INSTALL_BIN} ${WRKBUILD}/deco ${IDIR_DECO}/usr/bin/deco
+ ${INSTALL_DATA} ${WRKBUILD}/profile ${IDIR_DECO}/usr/lib/deco/profile
+ ${INSTALL_DATA} ${WRKBUILD}/menu ${IDIR_DECO}/usr/lib/deco/menu
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/deco/ipkg/deco.control b/package/deco/ipkg/deco.control
new file mode 100644
index 000000000..f7e8c4348
--- /dev/null
+++ b/package/deco/ipkg/deco.control
@@ -0,0 +1,5 @@
+Package: deco
+Priority: optional
+Section: misc
+Depends: libncurses
+Description: Text-based, full featured file manager
diff --git a/package/deco/patches/100-tty.c.patch b/package/deco/patches/100-tty.c.patch
new file mode 100644
index 000000000..f37e4e2a6
--- /dev/null
+++ b/package/deco/patches/100-tty.c.patch
@@ -0,0 +1,11 @@
+--- src/tty.c 2005-09-25 00:23:41.671022039 -0700
++++ str_new/tty.c 2005-09-25 01:09:37.189119615 -0700
+@@ -14,7 +14,7 @@
+ #if HAVE_TERMIOS_H
+ # include <sys/termios.h>
+ # if HAVE_SYS_IOCTL_H
+-# include <sys/ioctl.h>
++/*# include <sys/ioctl.h>*/
+ # endif
+ # define HAVE_TERMIO_H 1
+ # define termio termios