mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-12 23:00:10 +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.
58 lines
1.3 KiB
Bash
58 lines
1.3 KiB
Bash
SUMMARY="Interface Elements Library"
|
|
DESCRIPTION="Attila Mezei's Interface Elements.
|
|
This library helps you to instantiate window archives."
|
|
HOMEPAGE="https://github.com/HaikuArchives/InterfaceElements/"
|
|
COPYRIGHT="1997-1998 Attila Mezei"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
srcGitRev="43f91ffb883a94d4c239eda28a8ec2e0b985419e"
|
|
SOURCE_URI="https://github.com/HaikuArchives/InterfaceElements/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="443c685366a9517cad428c4e140c448c529a835585df321bb18732bdfbec198d"
|
|
SOURCE_DIR="InterfaceElements-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
interface_elements$secondaryArchSuffix = $portVersion
|
|
lib:libie$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
interface_elements${secondaryArchSuffix}_devel
|
|
devel:libie$secondaryArchSuffix
|
|
"
|
|
REQUIRES_devel="
|
|
interface_elements${secondaryArchSuffix} == $portVersion base
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
makefile_engine
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd "Develop/IE library"
|
|
make BUILDHOME=/system/develop $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $includeDir $libDir
|
|
|
|
cd "Develop/IE library"
|
|
make BUILDHOME=/system/develop INSTALL_DIR=$libDir $jobArgs install
|
|
cp *.h $includeDir
|
|
|
|
prepareInstalledDevelLibs libie
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|