Skip to content
Permalink
update-mpfr-402
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 51 lines (34 sloc) 898 Bytes
#!/bin/env beesh
PGRP=( uncategorized )
SRCURL[0]="http://cpan.org/src/5.0/perl-5.12.1.tar.bz2"
PATCHES[0]=""
# EXCLUDE=""
B=${S}
PREFIX=/usr/local
USRBIN=/usr/bin
mee_patch() {
bee_patch
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \
-e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \
-e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \
cpan/Compress-Raw-Zlib/config.in
}
mee_configure() {
sh Configure -des \
-Dprefix=${PREFIX} \
-Dvendorprefix=${PREFIX} \
-Dman1dir=${MANDIR}/man1 \
-Dman3dir=${MANDIR}/man3 \
-Dpager="/usr/bin/less -isR" \
-Duseithreads \
-Accflags='-fPIC'
}
mee_build() {
bee_build
make test
}
mee_install() {
bee_install
mkdir -pv ${D}${USRBIN}
ln -sf ${BINDIR}/perl ${D}${USRBIN}/perl
}