APP=libunistring
VERSION=0.9.10
BUILD=1sml
HOMEPAGE='http://www.gnu.org/s/libunistring'
DOWNLOAD='https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.gz'
DESC="GNU Unicode string manipulating library"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION 
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-static \
    --disable-rpath

  make
  make install DESTDIR=$PKG 

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
296a0d2ff6d96eab8a4104af99aa8dfc3b22af68496161849e0ff6365346d21069ca589ecb10ad914b2969355bc049ac31f5fdb8e2146b172d5bc7cc2dd9c4a4  libunistring-0.9.10.tar.lz
"
