Files
haikuports/haiku-libs/liblayout/liblayout-1.4.1.recipe
2018-11-11 15:43:06 -05:00

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"
COPYRIGHT="1996-2003 Marco Nelissen"
LICENSE="LIBLAYOUT"
REVISION="6"
srcGitRev="5543efb8f4bdee4fe50c2f9a0dd890672e3f0dc5"
SOURCE_URI="https://github.com/pulkomandy/liblayout/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="53155ade851a44724e160d722521ae05bd9569afce6578ecd502123bf3349e48"
SOURCE_DIR="liblayout-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
liblayout$secondaryArchSuffix = $portVersion compat >= 1.4
lib:liblayout$secondaryArchSuffix = $portVersion compat >= 1.4
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
liblayout${secondaryArchSuffix}_devel = $portVersion compat >= 1.4
devel:liblayout$secondaryArchSuffix = $portVersion compat >= 1.4
"
REQUIRES_devel="
liblayout$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD()
{
true
}
INSTALL()
{
mkdir -p $libDir
cp $effectiveTargetArchitecture/liblayout.so $libDir
mkdir -p $includeDir/liblayout
cp headers/*.h $includeDir/liblayout
prepareInstalledDevelLibs liblayout
packageEntries devel $developDir
}