mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libunibreak, bump version, keep old around (#9100)
This commit is contained in:
@@ -3,16 +3,16 @@ DESCRIPTION="An implementation of the line breaking and word breaking \
|
||||
algorithms as described in Unicode Standard Annex 14 and Unicode Standard \
|
||||
Annex 29."
|
||||
HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/"
|
||||
COPYRIGHT="2016 Andreas Röver"
|
||||
COPYRIGHT="2022 Andreas Röver"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${portVersion//./_}/libunibreak-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f7329bef1eb169d3363f040cefcc323cfd0a0bc53290a35a395e1d1adc849539"
|
||||
CHECKSUM_SHA256="dd1a92d4c5646aa0e457ff41d89812ec5243863be6c20bbcb5ee380f3dd78377"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="3.1.0"
|
||||
libVersion="5.0.1"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -25,7 +25,6 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libunibreak${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:liblinebreak$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libunibreak$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
@@ -36,8 +35,8 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:cmp
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
@@ -45,12 +44,16 @@ BUILD_PREREQUIRES="
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:wget
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libunibreak$secondaryArchSuffix \
|
||||
"$libDir"/libunibreak.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -58,13 +61,11 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool library files
|
||||
# remove libtool file
|
||||
rm $libDir/*.la
|
||||
rm $libDir/liblinebreak.a
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libunibreak
|
||||
ln -s libunibreak.a $developLibDir/liblinebreak.a
|
||||
prepareInstalledDevelLib libunibreak
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
84
dev-libs/libunibreak/libunibreak4.0-4.0.recipe
Normal file
84
dev-libs/libunibreak/libunibreak4.0-4.0.recipe
Normal file
@@ -0,0 +1,84 @@
|
||||
SUMMARY="Line and word breaking library"
|
||||
DESCRIPTION="An implementation of the line breaking and word breaking \
|
||||
algorithms as described in Unicode Standard Annex 14 and Unicode Standard \
|
||||
Annex 29."
|
||||
HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/"
|
||||
COPYRIGHT="2016 Andreas Röver"
|
||||
LICENSE="Zlib"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${portVersion//./_}/libunibreak-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f7329bef1eb169d3363f040cefcc323cfd0a0bc53290a35a395e1d1adc849539"
|
||||
SOURCE_DIR="libunibreak-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="3.1.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libunibreak4.0$secondaryArchSuffix = $portVersion
|
||||
lib:libunibreak$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libunibreak4.0${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libunibreak$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libunibreak4.0$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
libunibreak${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:wget
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libunibreak4.0$secondaryArchSuffix \
|
||||
"$libDir"/libunibreak.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool file
|
||||
rm $libDir/*.la
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLib libunibreak
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user