New package: icu55-55.1
This commit is contained in:
parent
cfaea4afb8
commit
5329b36c3d
5 changed files with 79 additions and 0 deletions
|
@ -484,6 +484,14 @@ libicudata.so.54 icu-libs-54.1_1
|
|||
libicutu.so.54 icu-libs-54.1_1
|
||||
libicuuc.so.54 icu-libs-54.1_1
|
||||
libicutest.so.54 icu-libs-54.1_1
|
||||
libiculx.so.55 icu55-libs-55.1_1
|
||||
libicule.so.55 icu55-libs-55.1_1
|
||||
libicuio.so.55 icu55-libs-55.1_1
|
||||
libicui18n.so.55 icu55-libs-55.1_1
|
||||
libicudata.so.55 icu55-libs-55.1_1
|
||||
libicutu.so.55 icu55-libs-55.1_1
|
||||
libicuuc.so.55 icu55-libs-55.1_1
|
||||
libicutest.so.55 icu55-libs-55.1_1
|
||||
libaspell.so.15 aspell-0.60_1
|
||||
libpspell.so.15 aspell-0.60_1
|
||||
libhunspell-1.2.so.0 hunspell-1.2.8_1
|
||||
|
|
1
srcpkgs/icu55-devel
Symbolic link
1
srcpkgs/icu55-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
icu55
|
1
srcpkgs/icu55-libs
Symbolic link
1
srcpkgs/icu55-libs
Symbolic link
|
@ -0,0 +1 @@
|
|||
icu55
|
67
srcpkgs/icu55/template
Normal file
67
srcpkgs/icu55/template
Normal file
|
@ -0,0 +1,67 @@
|
|||
# Template build file for 'icu55'.
|
||||
pkgname=icu55
|
||||
version=55.1
|
||||
revision=1
|
||||
wrksrc=icu
|
||||
build_wrksrc=source
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin"
|
||||
hostmakedepends="pkg-config"
|
||||
short_desc="Robust and full-featured Unicode services"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.icu-project.org/"
|
||||
license="ICU License /usr/share/licenses/icu/license.html"
|
||||
distfiles="http://download.icu-project.org/files/icu4c/${version}/icu4c-${version//./_}-src.tgz"
|
||||
checksum=e16b22cbefdd354bec114541f7849a12f8fc2015320ca5282ee4fd787571457b
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --with-cross-build=${XBPS_BUILDDIR}/${wrksrc}/host-icu"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Configure and build for host.
|
||||
mkdir host-build
|
||||
(
|
||||
cd host-build
|
||||
env CC=cc LD=ld CXX=g++ AR=ar RANLIB=ranlib \
|
||||
AS=as STRIP=strip CFLAGS="-Os" CXXFLAGS="-Os" \
|
||||
../configure --prefix=/
|
||||
make ${makejobs}
|
||||
mkdir -p ${wrksrc}/host-icu/config
|
||||
cp config/icucross.* ${wrksrc}/host-icu/config
|
||||
make DESTDIR=${wrksrc}/host-icu install
|
||||
mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin
|
||||
make distclean
|
||||
)
|
||||
fi
|
||||
|
||||
# libicudata must be linked to libc, otherwise it's soft-float on ARM.
|
||||
# probably other stuff breaks too, so let's just do it.
|
||||
# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457
|
||||
sed -e 's,-nostdlib,,g' -i ${wrksrc}/source/config/mh-linux
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense $wrksrc/license.html
|
||||
}
|
||||
|
||||
icu55-devel_package() {
|
||||
depends="libstdc++-devel icu55-libs>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/icu
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/icu
|
||||
vmove usr/bin/icu-config
|
||||
vmove "usr/share/man/man1/icu-config*"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
icu55-libs_package() {
|
||||
short_desc+=" - shared libs"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
2
srcpkgs/icu55/update
Normal file
2
srcpkgs/icu55/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site='http://site.icu-project.org/download'
|
||||
pattern='ICU4C-Download">\K[\d.]+'
|
Loading…
Reference in a new issue