mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
ale: cleanup and revbump for beta 5 (#11017)
This commit is contained in:
@@ -17,7 +17,7 @@ http://www.youtube.com/watch?v=ZPv58AWWGRQ"
|
||||
HOMEPAGE="https://github.com/czeidler/ALEditor"
|
||||
COPYRIGHT="2009-2014 UniAuckland Team"
|
||||
LICENSE="MIT"
|
||||
REVISION="8"
|
||||
REVISION="9"
|
||||
srcGitRev="90c1db5b38eedbb101dfc4648c13e65d552fc033"
|
||||
SOURCE_URI="https://github.com/czeidler/ALEditor/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="e20bffa0dd5d840a55ab79f4e04fb3d7955e1604b9eb40a5d7f047eb47c52fd8"
|
||||
@@ -30,9 +30,20 @@ ARCHITECTURES="all"
|
||||
PROVIDES="
|
||||
ale = $portVersion
|
||||
app:ALEditor = $portVersion
|
||||
lib:libale = $portVersion
|
||||
devel:libale = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
ale_libs == $portVersion base
|
||||
"
|
||||
|
||||
SUMMARY_libs="Runtime libraries for the Auckland Layout Editor"
|
||||
DESCRIPTION="This package provides libale.so for use in other applications."
|
||||
PROVIDES_libs="
|
||||
ale_libs = $portVersion
|
||||
lib:libale = $portVersion
|
||||
"
|
||||
REQUIRES_libs="
|
||||
haiku
|
||||
"
|
||||
|
||||
@@ -54,37 +65,18 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -pv $appsDir
|
||||
cp -afv ALEditor $appsDir/ALEditor
|
||||
mkdir -pv $libDir
|
||||
cp -afv libale.so $libDir/libale.so
|
||||
|
||||
addAppDeskbarSymlink $appsDir/ALEditor ALEditor
|
||||
|
||||
# copy development headers
|
||||
headersALE="LayoutArchive.h"
|
||||
headersALM="ALMGroup.h ALMLayout.h ALMLayoutBuilder.h Area.h Column.h Row.h Tab.h"
|
||||
headersLinearSpec="Constraint.h LinearProgrammingTypes.h LinearSpec.h Summand.h Variable.h"
|
||||
|
||||
mkdir -pv $includeDir/ale
|
||||
for file in $headersALE
|
||||
do
|
||||
cp -afv headers/editor/${file} $includeDir/ale/${file}
|
||||
done
|
||||
cp -afv headers/editor/LayoutArchive.h $includeDir/ale/
|
||||
|
||||
mkdir -pv $includeDir/alm
|
||||
for file in $headersALM
|
||||
do
|
||||
cp -afv headers/haiku_private/alm/${file} $includeDir/alm/${file}
|
||||
done
|
||||
|
||||
mkdir -pv $includeDir/linearspec
|
||||
for file in $headersLinearSpec
|
||||
do
|
||||
cp -afv headers/haiku_private/linearspec/${file} $includeDir/linearspec/${file}
|
||||
done
|
||||
|
||||
# copy example
|
||||
mkdir -pv $dataDir/ale/example
|
||||
cp -afv example/* $dataDir/ale/example/
|
||||
|
||||
mkdir -pv $appsDir
|
||||
cp -afv ALEditor $appsDir/ALEditor
|
||||
addAppDeskbarSymlink $appsDir/ALEditor ALEditor
|
||||
|
||||
mkdir -pv $libDir
|
||||
cp -afv libale.so $libDir/libale.so
|
||||
prepareInstalledDevelLib libale
|
||||
packageEntries libs $libDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user