mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 19:32:31 +01:00
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=mc
|
|
pkgver=4.8.10
|
|
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="eb4bdc23abd4fdfa14911d53d65c8186 mc-4.8.10.tar.bz2"
|
|
sha256sums="5f4166fe78fbf4b42f51ed526ca7f79fea8c77d04355c2b97d4df2a6bd2a1b1a mc-4.8.10.tar.bz2"
|
|
sha512sums="276e966864cf919859e67903d177985f72ddc42341e5c6c285f223cd88459edc7ba5ebbcbe4b1ed5931a91498994aa6a70c092c308cd5e1fa9f8d4ecdaa8a594 mc-4.8.10.tar.bz2"
|