summaryrefslogtreecommitdiff
path: root/repo/core/perl.xibuild
blob: 4488cb2d41bbcd86c2c6aa00e835a21f8c4546c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

DEPS=(gdbm glibc libxcrypt)

SOURCE=https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz
DESC="The Practical Extraction and Report Language"

build () {
    #export BUILD_ZLIB=False
    #export BUILD_BZIP2=0

    sh Configure -des -Dprefix=/tools -Dlibs=-lm -Uloclibpth -Ulocincpth

    make
    make test
    make DESTDIR=$PKG_DEST install 
    unset BUILD_ZLIB BUILD_BZIP2
}