mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +02:00
uname -p is "x86" even on x86_gcc2 installs, and won't handle secondary architecture properly anyway. Use haikuports provided $targetArchitecture, which I think is the right thing to do here.
65 lines
1.7 KiB
Bash
65 lines
1.7 KiB
Bash
SUMMARY="Layout library for the BeAPI"
|
|
DESCRIPTION="Layout contains many standard and custom classes, enabling you \
|
|
to quickly build a resizable and fully font-sensitive (font-aware) GUI. \
|
|
|
|
Features:
|
|
|
|
* font-sensitive/aware and resizable
|
|
* compatible with roColour colordrops
|
|
* compatible with FontSelector fontdrops
|
|
* uses standard Be-classes
|
|
* easy to use and expand
|
|
* asynchronous controls
|
|
|
|
WARNING: This library is old and not intended for new development. It is only \
|
|
around to support legacy apps that have not migrated to the Haiku layout kit."
|
|
HOMEPAGE="https://web.archive.org/web/20071227072934/http://www.xs4all.nl:80/~marcone/be.html"
|
|
COMMIT="6388c704c1f816d24bf266fe15d74f642bbf5fae"
|
|
CHECKSUM_SHA256="b225631900696dd8dcdfde25f211b2db3d09978f12039c3a68bf17c7c3f415bd"
|
|
SOURCE_URI="https://github.com/pulkomandy/liblayout/archive/$COMMIT.tar.gz"
|
|
SOURCE_DIR="liblayout-$COMMIT"
|
|
COPYRIGHT="1996-2003 Marco Nelissen"
|
|
LICENSE="LIBLAYOUT"
|
|
REVISION="3"
|
|
ARCHITECTURES="x86_gcc2 x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86 ?x86_gcc2"
|
|
|
|
PROVIDES="
|
|
liblayout$secondaryArchSuffix = $portVersion compat >= 1.4
|
|
lib:liblayout$secondaryArchSuffix = $portVersion compat >= 1.4
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
liblayout${secondaryArchSuffix}_devel = $portVersion compat >= 1.4
|
|
devel:liblayout$secondaryArchSuffix = $portVersion compat >= 1.4
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
liblayout$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
true
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $libDir
|
|
cp $targetArchitecture/liblayout.so $libDir
|
|
|
|
mkdir -p $includeDir/liblayout
|
|
cp headers/*.h $includeDir/liblayout
|
|
|
|
prepareInstalledDevelLibs liblayout
|
|
packageEntries devel $developDir
|
|
}
|