# Maintainer: PktSurf <smlinux@pktsurf.in>
app=texinfo
version=6.7
build=2sml
homepage="https://www.gnu.org/software/texinfo/"
download="https://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.xz"
desc="GNU software documentation system"
requires="netbsd-curses perl gzip"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix=

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
c1cba6894164fb9e09f000d5af287b7d324d15a0034d4145959b76fcd1e4ca671c201aa0725e8f99c51ac468e59467ebf950e2bc11ed4a07f15f6c838defd855  texinfo-6.7.tar.lz
"
