summaryrefslogtreecommitdiff
path: root/repo/system/libtool.xibuild
blob: ea7dc0ea71f140cfd4b5917680a478abaebde88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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 -fv $PKG_DEST/usr/lib/libltdl.a
}