mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
61 lines
1.4 KiB
Bash
61 lines
1.4 KiB
Bash
SUMMARY="A framework to create Windows-style multidocument applications"
|
|
DESCRIPTION="BeMDI is a framework to emulate windows inside of other windows \
|
|
using a list of classes that emulate the windows' style. This makes it \
|
|
possible to make programs that weren't possible before."
|
|
HOMEPAGE="https://github.com/HaikuArchives/BeMDI"
|
|
COPYRIGHT="2000 3rd-evolution"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/HaikuArchives/BeMDI/archive/d55bec50ba7776d0d62bcfc863f46869fedb70cf.tar.gz"
|
|
CHECKSUM_SHA256="0895dcc6dd191fc56dfed6ea93197a20e239782bda3278db21fc8022be20af2b"
|
|
SOURCE_DIR="BeMDI-d55bec50ba7776d0d62bcfc863f46869fedb70cf"
|
|
|
|
ARCHITECTURES="?all x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libmdi$secondaryArchSuffix = $portVersion
|
|
lib:libmdi$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libmdi${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmdi$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libmdi$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd source
|
|
make $jobArgs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $libDir
|
|
mkdir -p $includeDir
|
|
|
|
cp -a source/objects/libmdi.a $libDir
|
|
cp -R headers/mdi $includeDir
|
|
|
|
prepareInstalledDevelLibs \
|
|
libmdi
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|