smlinux/base/libunistring/libunistring.SMBuild

35 lines
761 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libunistring
version=0.9.10
build=1sml
homepage="http://www.gnu.org/s/libunistring"
download="https://ftp.gnu.org/gnu/libunistring/libunistring-$version.tar.gz"
desc="GNU Unicode string manipulating library"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static \
--disable-rpath
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
296a0d2ff6d96eab8a4104af99aa8dfc3b22af68496161849e0ff6365346d21069ca589ecb10ad914b2969355bc049ac31f5fdb8e2146b172d5bc7cc2dd9c4a4 libunistring-0.9.10.tar.lz
"