blob: 857bef20d02467824f66a64c5e01d40e90d7f6a5 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mc
pkgver=4.8.9
pkgrel=0
pkgdesc="A filemanager/shell that emulates Norton Commander"
url="http://www.ibiblio.org/mc/"
arch="all"
license="GPL3+"
depends=""
subpackages="$pkgname-doc $pkgname-lang"
makedepends="e2fsprogs-dev glib-dev pcre-dev slang-dev"
source="http://www.midnight-commander.org/downloads/mc-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--enable-background \
--enable-charset \
--enable-largefile \
--with-edit \
--with-mmap \
--with-screen=slang \
--with-subshell \
--with-vfs \
--without-debug \
--without-gnome \
--without-gpm-mouse \
--without-included-gettext \
--without-samba \
--without-x \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="e701cc5ced4beed38e1977eba26dad50 mc-4.8.9.tar.bz2"
sha256sums="7e184cf5ed3ff8b93fcbfff16608c1444920f523beda2fcc586878d619ea11da mc-4.8.9.tar.bz2"
sha512sums="c021731ee1793c2d37759e6a72ba8ae28d46aa4a006732f6e651d422a259c0d7921eb025890e4a6d95f00a0c7ea36269b16cb80387448d5acc237ebbc74aede7 mc-4.8.9.tar.bz2"
|