smlinux/base/libunistring/libunistring.SMBuild
PktSurf 2818c6283f Fixed documentation directory-related build options in several build files
Removed extraneous README file in extra/FEH
Discarded DEBUG=0 build flag in extra/cmus
2023-03-30 20:30:49 +05:30

36 lines
759 B
Text
Executable file

app=libunistring
version=0.9.10
build=2sml
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="" \
--docdir="/share/doc/$app-$version" \
--disable-static \
--disable-rpath
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
296a0d2ff6d96eab8a4104af99aa8dfc3b22af68496161849e0ff6365346d21069ca589ecb10ad914b2969355bc049ac31f5fdb8e2146b172d5bc7cc2dd9c4a4 libunistring-0.9.10.tar.lz
"