summaryrefslogtreecommitdiff
path: root/repo/system/libtool.xibuild
blob: 9827ac3cb61cf260fa770ec12121a2be972d4dd6 (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/bash

MAKEDEPS=(make )
DEPS=(sh tar glibc)

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
}