an, revbump, move to ICU74 (#10476)

This commit is contained in:
Schrijvers Luc
2024-05-26 16:51:34 +02:00
committed by GitHub
parent 58fe2addb0
commit 8471b1a07f

View File

@@ -5,34 +5,35 @@ work for any alphabetic language."
HOMEPAGE="https://salsa.debian.org/pm/an" HOMEPAGE="https://salsa.debian.org/pm/an"
COPYRIGHT="2012-2014 Paul Martin" COPYRIGHT="2012-2014 Paul Martin"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="2" REVISION="3"
srcGitRev="403d9a4fd75a5cfae9d5388c4a0e7f889145177f" srcGitRev="403d9a4fd75a5cfae9d5388c4a0e7f889145177f"
SOURCE_URI="https://salsa.debian.org/pm/an/-/archive/$srcGitRev.tar.gz" SOURCE_URI="https://salsa.debian.org/pm/an/-/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="e4f717f65f5cccaf610f66aaa1755a42370e1d6d7c26411255a283cdb4febdb9" CHECKSUM_SHA256="e4f717f65f5cccaf610f66aaa1755a42370e1d6d7c26411255a283cdb4febdb9"
SOURCE_FILENAME="an-$portVersion-$srcGitRev.tar.gz" SOURCE_FILENAME="an-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="an-$srcGitRev" SOURCE_DIR="an-$srcGitRev"
ARCHITECTURES="all" ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES=" PROVIDES="
$portName = $portVersion an$secondaryArchSuffix = $portVersion
cmd:an = $portVersion cmd:an = $portVersion
" "
REQUIRES=" REQUIRES="
haiku haiku$secondaryArchSuffix
lib:libicui18n lib:libicui18n$secondaryArchSuffix
lib:libicuuc lib:libicuuc$secondaryArchSuffix
lib:libicudata lib:libicudata$secondaryArchSuffix
" "
BUILD_REQUIRES=" BUILD_REQUIRES="
haiku_devel haiku${secondaryArchSuffix}_devel
devel:libicui18n devel:libicui18n$secondaryArchSuffix >= 74
devel:libicuuc devel:libicuuc$secondaryArchSuffix >= 74
devel:libicudata devel:libicudata$secondaryArchSuffix >= 74
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
cmd:gcc cmd:gcc$secondaryArchSuffix
cmd:make cmd:make
cmd:sed cmd:sed
" "
@@ -46,14 +47,14 @@ PATCH()
BUILD() BUILD()
{ {
make INSTALLDIR=$binDir MANDIR=$manDir/man6 $jobArgs make INSTALLDIR=$prefix/bin MANDIR=$manDir/man6 $jobArgs
} }
INSTALL() INSTALL()
{ {
mkdir -p $binDir $manDir/man6 mkdir -p $prefix/bin $manDir/man6
sed -i "s|/usr.*|/boot/system/data/spell_check/word_dictionary/words|"\ sed -i "s|/usr.*|/boot/system/data/spell_check/word_dictionary/words|"\
an.6 an.6
make install INSTALLDIR=$binDir MANDIR=$manDir/man6 make install INSTALLDIR=$prefix/bin MANDIR=$manDir/man6
} }