0
0
Fork 0
haikuports/haiku-libs/liblayout/liblayout-1.4.1.recipe

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="8"
srcGitRev="a67fd7bf6a6980349f7b14893bb0b2cf6c6f9fbc"
SOURCE_URI="https://github.com/pulkomandy/liblayout/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="18d6d1461221b7e23e2f472b9c14fe787b6a6c2558825e250b324321cb131ec0"
SOURCE_DIR="liblayout-$srcGitRev"
ARCHITECTURES="all"
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
}