diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-07 12:51:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-07 12:52:21 +0000 |
commit | fa63d0c8c020a294406515aa3c03826e4a3034a1 (patch) | |
tree | 1963f867759413456b0622be5bcc311dc3ed3add /testing | |
parent | c7e1801c7c64224c8c7631e761c140b81684b5a5 (diff) | |
download | aports-fa63d0c8c020a294406515aa3c03826e4a3034a1.tar.bz2 aports-fa63d0c8c020a294406515aa3c03826e4a3034a1.tar.xz |
testing/mc: new aport
A filemanager/shell that emulates Norton Commander
http://www.ibiblio.org/mc/
fixes #374
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mc/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/mc/APKBUILD b/testing/mc/APKBUILD new file mode 100644 index 0000000000..72d59ce281 --- /dev/null +++ b/testing/mc/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=mc +pkgver=4.7.0.7 +pkgrel=0 +pkgdesc="A filemanager/shell that emulates Norton Commander" +url="http://www.ibiblio.org/mc/" +license="GPL" +depends="" +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 --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="23e35ad8917fc752dffedb06b5d0bf98 mc-4.7.0.7.tar.bz2" |