#!/bin/sh

MAKEDEPS="make "
DEPS="sh tar musl"

PKG_VER=2.4.6
SOURCE=https://ftpmirror.gnu.org/libtool/libtool-$PKG_VER.tar.gz
DESC="A generic library support script"

build () {
    ./configure --prefix=/usr
    make
}

#check () {
    ## one test with older libltdl interfaces failed
    #make check || true
#}

package () {
    make DESTDIR=$PKG_DEST install 
    rm -f $PKG_DEST/usr/lib/libltdl.a
}