2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.ibiblio.org
/pub
/Linux
/utils
/file
/managers
/mc
/
17 PKG_MD5SUM
:=18b20db6e40480a53bac2870c56fc3c4
19 PKG_BUILD_DEPENDS
:=glib1 libncurses
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:=+glib1
+libncurses
27 TITLE
:=Midnight Commander
4.1.X-MP
28 URL
:=http
://www.ibiblio.org
/mc
/
34 --with-included-gettext \
37 --without-sunos-curses \
38 --without-osf1-curses \
58 --with-glib-prefix
="$(STAGING_DIR)/usr" \
60 PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig"
62 define Package
/mc
/install
63 $(INSTALL_DIR
) $(1)/usr
/bin
64 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/mc
$(1)/usr
/bin
65 ln
-sf mc
$(1)/usr
/bin
/mcedit
68 $(eval
$(call BuildPackage
,mc
))