mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
libcangjie: add new recipe, 1.3 (#7305)
This commit is contained in:
67
app-i18n/libcangjie/libcangjie-1.3.recipe
Normal file
67
app-i18n/libcangjie/libcangjie-1.3.recipe
Normal file
@@ -0,0 +1,67 @@
|
||||
SUMMARY="Library to implement Cangjie input method"
|
||||
DESCRIPTION="This is the C library implementing the Cangjie input method."
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/cangjie/libcangjie"
|
||||
COPYRIGHT="2013 The LibCangjie authors"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gitlab.freedesktop.org/cangjie/libcangjie/-/archive/v${portVersion}/ibcangjie-v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="629e53bfb26f0939bd11e71e2ff42e38d4456721ea96971646edd26228109242"
|
||||
SOURCE_DIR="libcangjie-v$portVersion-a6e65884879315f7a2677528691e9c866cc2e391"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="2.0.1"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libcangjie$secondaryArchSuffix = $portVersion
|
||||
cmd:libcangjie_bench
|
||||
cmd:libcangjie_cli
|
||||
cmd:libcangjie_dbbuilder
|
||||
lib:libcangjie$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libsqlite3$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libcangjie${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcangjie$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libcangjie == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel$secondaryArchSuffix
|
||||
devel:libsqlite3$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libcangjie.la
|
||||
|
||||
prepareInstalledDevelLib libcangjie
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
Reference in New Issue
Block a user