summaryrefslogtreecommitdiff
path: root/package/mc/Makefile
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/mc/Makefile
Initial import
Diffstat (limited to 'package/mc/Makefile')
-rw-r--r--package/mc/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/package/mc/Makefile b/package/mc/Makefile
new file mode 100644
index 000000000..63b8d7c60
--- /dev/null
+++ b/package/mc/Makefile
@@ -0,0 +1,50 @@
+# $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= mc
+PKG_VERSION= 4.6.1
+PKG_RELEASE= 1
+PKG_MD5SUM= 18b20db6e40480a53bac2870c56fc3c4
+MASTER_SITES= http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,MC,mc,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --disable-charset \
+ --disable-background \
+ --disable-gcc-warnings \
+ --disable-glibtest \
+ --with-glib12 \
+ --without-libiconv-prefix \
+ --without-x \
+ --with-vfs \
+ --without-mcfs \
+ --without-samba \
+ --without-gpm-mouse \
+ --with-configdir=/etc \
+ --without-ext2undel \
+ --with-subshell \
+ --with-screen=ncurses \
+ --with-edit
+CONFIGURE_ENV+= mc_cv_have_zipinfo=yes \
+ am_cv_func_iconv=no
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+pre-install:
+ cp ${WRKSRC}/doc/xnc.hlp ${WRKSRC}/doc/mc.hlp
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_MC}/usr/{bin,share/mc}
+ ${CP} ${WRKINST}/usr/bin/mc ${IDIR_MC}/usr/bin/
+ cd ${IDIR_MC}/usr/bin && ln -s mc mcedit && ln -s mc mcview
+ cd ${WRKINST}/usr/share/mc && ${CP} cedit.menu mc.ext mc.hint \
+ mc.lib mc.menu syntax extfs ${IDIR_MC}/usr/share/mc/
+
+include ${TOPDIR}/mk/pkg-bottom.mk