liblayout: add recipe for version 1.4.1

This commit is contained in:
Sergei Reznikov
2017-07-31 23:33:34 +03:00
parent d2000de103
commit 52ff16aeba
2 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
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="ecec357a1ed455ddeaf66e0f8f87cbff591c52dd"
CHECKSUM_SHA256="efa2bf204cb2bf99b5f635c3db66aa654f77e97241163f6566da491f3eb5b60d"
SOURCE_URI="https://github.com/diversys/liblayout/archive/$COMMIT.tar.gz"
SOURCE_DIR="liblayout-$COMMIT"
COPYRIGHT="1996-2003 Marco Nelissen"
LICENSE="LIBLAYOUT"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="?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 `uname -p`/liblayout.so $libDir
mkdir -p $includeDir/liblayout
cp headers/*.h $includeDir/liblayout
prepareInstalledDevelLibs liblayout
packageEntries devel $developDir
}

View File

@@ -0,0 +1,5 @@
The layout library, all headerfiles and documentation are
Copyright © 1996-1999 Marco Nelissen (marcone@xs4all.nl).
liblayout is freely distributable, and freely usable for
non-commercial purposes. For commercial licensing, please see the
documentation, or mail the author at marcone@xs4all.nl.