mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
mc: bump version
This commit is contained in:
75
app-misc/mc/mc-4.8.15.recipe
Normal file
75
app-misc/mc/mc-4.8.15.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="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"
|
||||
SOURCE_URI="http://ftp.midnight-commander.org/mc-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="cf4e8f5dfe419830d56ca7e5f2495898e37ebcd05da1e47ff7041446c87fba16"
|
||||
COPYRIGHT="1994-2015, Free Software Foundation"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="mc-$portVersion.patch"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="settings/mc directory keep-old"
|
||||
|
||||
PROVIDES="
|
||||
mc$secondaryArchSuffix = $portVersion compat >= $portVersion
|
||||
cmd:mc$secondaryArchSuffix = $portVersion compat >= $portVersion
|
||||
cmd:mcedit$secondaryArchSuffix = $portVersion compat >= $portVersion
|
||||
cmd:mcdiff$secondaryArchSuffix = $portVersion compat >= $portVersion
|
||||
cmd:mcview$secondaryArchSuffix = $portVersion compat >= $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libssh2$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix >= 0.38
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libglib_2.0$secondaryArchSuffix >= 0.38
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libssh2$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:awk
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gettext$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:tar
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
CFLAGS="-D_BSD_SOURCE" LIBS=-lnetwork runConfigure configure \
|
||||
--prefix="$prefix" \
|
||||
--datarootdir="$dataRootDir" \
|
||||
--enable-vfs-smb \
|
||||
--with-smb-configdir="$settingsDir/samba" \
|
||||
--with-smb-codepagedir="$settingsDir/samba" \
|
||||
--with-homedir="$settingsDir/samba" \
|
||||
--with-screen=ncurses
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make $jobArgs install-strip
|
||||
}
|
||||
Reference in New Issue
Block a user