mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
aobook: new recipe (#1432)
* new recipe * Fix start application name with uppercase * Sort entries of requires and others * Remove trailing whitespaces
This commit is contained in:
69
app-text/aobook/aobook-1.0.3.recipe
Normal file
69
app-text/aobook/aobook-1.0.3.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
SUMMARY="Aozora Bunko text viewer"
|
||||
DESCRIPTION="Aobook is a viewer for Aozora Bunko which is a digital library \
|
||||
of Japanese-language literature."
|
||||
HOMEPAGE="https://osdn.net/projects/aobook/"
|
||||
COPYRIGHT="2014-2017 Azel"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
localRevision="3"
|
||||
SOURCE_URI="https://github.com/hanya/aobook-haiku/archive/v$portVersion-$localRevision.tar.gz"
|
||||
CHECKSUM_SHA256="9b39981a204e6094563c2435979da4eea1aa2ef3d1a5e9580961a4e9812d34a7"
|
||||
SOURCE_DIR="aobook-haiku-$portVersion-$localRevision"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
aobook = $portVersion
|
||||
app:Aobook = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libfontconfig
|
||||
lib:libfreetype
|
||||
lib:libiconv
|
||||
lib:libjpeg
|
||||
lib:libpng
|
||||
lib:libz
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libfontconfig
|
||||
devel:libfreetype
|
||||
devel:libiconv
|
||||
devel:libjpeg
|
||||
devel:libpng
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:g++
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/aobook directory
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd mlib
|
||||
make -f Makefile.haiku $jobArgs OBJ_DIR=objects
|
||||
|
||||
cd ../src
|
||||
make -f Makefile.haiku $jobArgs OBJ_DIR=objects
|
||||
make -f Makefile.haiku catalogs $jobArgs OBJ_DIR=objects
|
||||
make -f Makefile.haiku bindcatalogs $jobArgs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp -af src/objects/aobook $appsDir/Aobook
|
||||
|
||||
mkdir -p $dataDir/aobook/doc
|
||||
cp -af doc/manual.html $dataDir/aobook/doc
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Aobook
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user