smlinux/base/icu/icu.SMBuild

38 lines
873 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=icu
version=72.1
build=2sml
homepage="http://www.icu-project.org/"
download="https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-src.tgz"
desc="International Components for Unicode"
requires="gcc-libs python3"
prepbuilddir() {
mkandenterbuilddir
rm -rf "$app"
sversion="$(echo $version | sed 's/\./_/g')"
tar xf $srcdir/icu4c-$sversion-src.tar.lz
cd icu
fixbuilddirpermissions
}
build() {
cd source
./configure \
--prefix="" \
--sbindir=/bin \
--docdir="/share/doc/$app-$version" \
--disable-tests \
--disable-samples \
--disable-static
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
2d4b77236520b97135d540da6a672795d45f3bf2b0b5cc924d178491761e1f16de6fa8ab5ab9726d2f81ba214c670f2ca2d2c44b59eccda6e9500f97b2b48b30 icu4c-72_1-src.tar.lz
"