APP=libexif
VERSION=0.6.22
BUILD=1sml
HOMEPAGE='https://libexif.github.io/'
DOWNLOAD='https://github.com/libexif/libexif/releases/download/libexif-0_6_22-release/libexif-0.6.22.tar.xz'
DESC="Exchangeable Image File Format library"
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="
bb5ad5e68bc32142c61c46ddf72f8b3734b5ec2fcd9c5682eafe44ddf2a84f76c646b2d497ccfe590c61f13f315fc7c44623685c316d9ff77a289e877978318a  libexif-0.6.22.tar.lz
"
