mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
fpcupdeluxe, bump version (#6994)
This commit is contained in:
71
sys-devel/fpcupdeluxe/fpcupdeluxe-2.2.0~j.recipe
Normal file
71
sys-devel/fpcupdeluxe/fpcupdeluxe-2.2.0~j.recipe
Normal file
@@ -0,0 +1,71 @@
|
||||
SUMMARY="A GUI based installer for FPC and Lazarus"
|
||||
DESCRIPTION="Fpcup, fpclazup and fpcupdeluxe are basically wrappers around svn/make on steroids.
|
||||
They try to use the FPC/Lazarus build process as much as possible.
|
||||
Fcpupdeluxe is the latest addition that adds a GUI to ease its use.
|
||||
|
||||
Meant to be used side by side with other FPC/Lazarus installations. It creates a separate primary \
|
||||
config path directory for the new Lazarus installation, so it doesn't interfere with existing \
|
||||
Lazarus installs.
|
||||
|
||||
It's open source software released under the LGPL with linking exception (same as FreePascal), \
|
||||
and contains some open source libraries with their own license.
|
||||
See source files for details. All use permitted, also commercial, but no warranties, express or \
|
||||
implied."
|
||||
HOMEPAGE="https://github.com/LongDirtyAnimAlf/fpcupdeluxe/"
|
||||
COPYRIGHT="2014 Reinier Olislagers / DonAlfredo"
|
||||
LICENSE="GNU LGPL v3
|
||||
MIT"
|
||||
REVISION="1"
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
BINARY_ARCH=i386
|
||||
CHECKSUM_SHA256="9b5aea4573963202bdfa62ddd82a4477e0f99db4689242e56a1d7b069289b654"
|
||||
else
|
||||
BINARY_ARCH=x86_64
|
||||
CHECKSUM_SHA256="013072b44b94f1862d717d6bc610891210cdc95bb4f5e3243a5ecbacce9540b4"
|
||||
fi
|
||||
SOURCE_URI="$HOMEPAGE/releases/download/v${portVersion/\~/}/fpcupdeluxe-$BINARY_ARCH-haiku-qt5.zip"
|
||||
SOURCE_DIR="fpcupdeluxe-$BINARY_ARCH-haiku-qt5"
|
||||
ADDITIONAL_FILES="fpcupdeluxe.rdef.in
|
||||
install_fpcupdeluxe.sh
|
||||
"
|
||||
|
||||
ARCHITECTURES="x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
POST_INSTALL_SCRIPTS="$relativePostInstallDir/install_fpcupdeluxe.sh"
|
||||
|
||||
PROVIDES="
|
||||
fpcupdeluxe$secondaryArchSuffix = $portVersion
|
||||
cmd:fpcupdeluxe = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5pas$secondaryArchSuffix >= 1.2.10
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $prefix/bin $postInstallDir
|
||||
|
||||
cp $sourceDir/fpcupdeluxe-$BINARY_ARCH-haiku-qt5 $prefix/bin/fpcupdeluxe
|
||||
chmod +x $prefix/bin/fpcupdeluxe
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -d~ -f1`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/fpcupdeluxe.rdef.in > fpcupdeluxe.rdef
|
||||
|
||||
addResourcesToBinaries fpcupdeluxe.rdef \
|
||||
$prefix/bin/fpcupdeluxe
|
||||
|
||||
cp $portDir/additional-files/install_fpcupdeluxe.sh $postInstallDir
|
||||
|
||||
installDir="$(finddir B_USER_NONPACKAGED_DIRECTORY)/bin/"
|
||||
addAppDeskbarSymlink $installDir/FPCUPdeluxe
|
||||
}
|
||||
Reference in New Issue
Block a user