APP=libtasn1
VERSION=4.13
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/libtasn1/'
DOWNLOAD='https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.13.tar.gz'
DESC="Provides ASN.1 library used by GnuTLS and other crypto apps"
REQUIRES="musl"

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

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

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
d063c1b8fc11f62d59ba162d6138148492cd9eb2a69487907d16f6bc0e2bf2645dc4313b1f85a27c8c1f8a69da7d332e4105fedb01bbb2103b93258c24bca95f  libtasn1-4.13.tar.lz
"
