mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
bafx: add rdef with version info, add SHA256, mark x86_64 ok. (#625)
This commit is contained in:
10
haiku-apps/bafx/additional-files/bafx.rdef
Normal file
10
haiku-apps/bafx/additional-files/bafx.rdef
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
short_info = "BAfx file manager",
|
||||
long_info = "BAfx file manager © 2012-2014 marbocub"
|
||||
};
|
||||
@@ -4,12 +4,16 @@ with two panes for source and destination folder.
|
||||
The file manager is still in early stages of development. A built-in text and \
|
||||
image viewer are planned for future releases."
|
||||
HOMEPAGE="https://github.com/marbocub/BAfx"
|
||||
COPYRIGHT="2012 marbocub"
|
||||
COPYRIGHT="2012-2014 marbocub"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="git+https://github.com/marbocub/BAfx#ebd3db8a22"
|
||||
REVISION="2"
|
||||
srcGitRev="ebd3db8a2231618f649bfb1215f6c8d209c73315"
|
||||
SOURCE_URI="https://github.com/marbocub/BAfx/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="e904b5509e40eb0a860b50da9c8685492ea9288f1130ce7036cb2bfc48b4568d"
|
||||
SOURCE_DIR="BAfx-$srcGitRev"
|
||||
ADDITIONAL_FILES="bafx.rdef"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
bafx = $portVersion
|
||||
@@ -24,8 +28,10 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc
|
||||
cmd:cut
|
||||
cmd:g++
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
@@ -36,7 +42,19 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp -a objects/BAfx $appsDir
|
||||
install -d -m 755 $appsDir
|
||||
install -t $appsDir objects/BAfx
|
||||
addAppDeskbarSymlink $appsDir/BAfx
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/bafx.rdef > bafx.rdef
|
||||
|
||||
addResourcesToBinaries bafx.rdef \
|
||||
$appsDir/BAfx
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user