summaryrefslogtreecommitdiffstats
path: root/extra/mc/Pkgfile
blob: 1db713e492f1814f704f68e28f400a1d57429fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Gestionnaire de fichiers en ligne de commande comme Norton commander
# URL: http://www.ibiblio.org/mc/
# Maintainer: NuTyX coreteam
# Packager: thierryn1 at hispeed dot ch
# Depends on: gpm, slang, glib

name=mc
version=4.6.2
release=1
source=(http://www.midnight-commander.org/downloads/$name-$version.tar.gz \
	http://www.linuxfromscratch.org/patches/blfs/svn/mc-4.6.1-bash32-1.patch)

build() {
	cd $name-$version
	aclocal
	automake -a
#	patch -Np1 -i ../mc-4.6.1-bash32-1.patch
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--without-x \
		--sysconfdir=/etc
	make
	make DESTDIR=$PKG install	
       
}