fix REQUIRES libs, fix hash, fix writable files, POLICY OK

This commit is contained in:
Maxim Sokhatsky
2014-01-19 00:00:27 +00:00
parent 7b92e0b46e
commit 29526654a5

View File

@@ -2,7 +2,7 @@ SUMMARY="Midnight Commander — a powerful file manager."
DESCRIPTION="
GNU Midnight Commander is a text-mode full-screen file manager. It uses a two panel interface and a subshell for command execution. It includes an internal editor with syntax highlighting and an internal viewer with support for binary files. Also included is Virtual Filesystem (VFS), that allows files on remote systems (e.g. FTP, SSH servers) and files inside archives to be manipulated like real files."
HOMEPAGE="http://www.midnight-commander.org/"
SRC_URI="git+https://github.com/MidnightCommander/mc#a8ffc26817fd7a5a60f7672b31b6368b0753226e"
SRC_URI="git+https://github.com/MidnightCommander/mc#d26b7dd6ee49211f4d18fdfbe193023a3e480389"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2007 MC Team"
@@ -11,27 +11,36 @@ PATCHES="mc.patch"
SOURCE_DIR="mc-4.8.11"
COOK="Maxim Sokhatsky <maxim@synrc.com>"
GLOBAL_WRITABLE_FILES="
settings/mc directory keep-old
"
PROVIDES="
mc = $portVersion
cmd:mc = $portVersion
cmd:mcedit = $portVersion
cmd:mcdiff = $portVersion
cmd:mcview = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libncurses
lib:libintl
lib:libiconv
lib:libglib_2.0
"
BUILD_REQUIRES="
devel:libncurses
devel:libintl
devel:libiconv
devel:libglib_2.0
"
BUILD_PREREQUIRES="
cmd:pkg_config
haiku_devel >= $haikuVersion
devel:libglib_2.0
devel:libslang
cmd:gettext
cmd:make
cmd:tar
@@ -47,7 +56,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autogen.sh
runConfigure configure --prefix="$prefix" --with-screen=ncurses
runConfigure configure --prefix="$prefix" --datarootdir="$dataRootDir" --with-screen=ncurses
make
}