2006-02-23 16:26:10 +01:00
|
|
|
# Description: GNU Midnight Commander
|
2009-02-12 13:59:19 +01:00
|
|
|
# URL: http://www.midnight-commander.org
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2009-12-28 10:55:50 +01:00
|
|
|
# Depends on: ncurses glib
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=mc
|
2010-02-26 17:48:53 +01:00
|
|
|
version=4.7.1
|
2009-12-28 10:55:50 +01:00
|
|
|
release=1
|
|
|
|
source=(http://www.midnight-commander.org/downloads/$name-$version.tar.lzma)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2009-02-12 13:59:19 +01:00
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--libexecdir=/usr/lib \
|
2009-12-28 10:55:50 +01:00
|
|
|
--disable-nls \
|
|
|
|
--with-screen=ncurses
|
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-02-12 13:59:19 +01:00
|
|
|
|
2010-02-26 17:48:53 +01:00
|
|
|
rm $PKG/usr/{share/mc/mc.hint.*,lib/mc/extfs.d/README*}
|
2006-02-23 16:26:10 +01:00
|
|
|
rm -r $PKG/usr/{sbin,man/man8}
|
|
|
|
}
|