app=guile version=2.2.6 build=1sml homepage="https://www.gnu.org/software/guile/" download="https://ftp.gnu.org/gnu/guile/guile-$version.tar.xz" desc="GNU extension language library" requires="libtool netbsd-curses libunistring libffi gmp libgc" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix="" \ --disable-error-on-warning \ --disable-static sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make install DESTDIR=$pkg cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" c954d34da34869ed97545b2a9f96f9456f081595561f38ea40e4efb07040650f12ad33a2e3b5abec46927ea12c920ce827bf5131ca8f72ed6502172009f4579b guile-2.2.6.tar.lz "