mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
Merged in puckipedia/haikuports/libmdi (pull request #476)
Add libmdi recipe
This commit is contained in:
61
haiku-libs/libmdi/libmdi-0.5.recipe
Normal file
61
haiku-libs/libmdi/libmdi-0.5.recipe
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
SUMMARY="Haiku 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"
|
||||||
|
SRC_URI="https://github.com/HaikuArchives/BeMDI/archive/d55bec50ba7776d0d62bcfc863f46869fedb70cf.tar.gz"
|
||||||
|
CHECKSUM_SHA256="0895dcc6dd191fc56dfed6ea93197a20e239782bda3278db21fc8022be20af2b"
|
||||||
|
SOURCE_DIR="BeMDI-d55bec50ba7776d0d62bcfc863f46869fedb70cf"
|
||||||
|
REVISION="1"
|
||||||
|
LICENSE="GNU LGPL v2.1"
|
||||||
|
COPYRIGHT="2000 3rd-evolution"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
bemdi$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libmdi$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
PROVIDES_devel="
|
||||||
|
bemdi${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libmdi$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
bemdi$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
makefile_engine
|
||||||
|
cmd:make
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:mkdepend
|
||||||
|
"
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user