aboutsummaryrefslogtreecommitdiffstats
path: root/packages/opie-style-fresh
AgeCommit message (Expand)Author
2006-10-10Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.Koen Kooi
2006-08-05packages: sed -i s/^"include "/"require "/ */*.bb GNU sed rocks!Holger Freyther
2006-07-02Opie: Rename Opie 1.2.1 to 1.2.2, Remove PRsHolger Freyther
2006-01-12Correct Opie PV format to preserve upgradability of packages but note where c...Richard Purdie
2006-01-07Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to x.x.x+cvsYYYY...Richard Purdie
2005-09-12Opie 1.2.1:Holger Freyther
2005-06-30import clean BK tree at cset 1.3670Koen Kooi
2005-03-26Merge nslu2-linux@nslu2-linux.bkbits.net:openembeddedg2@giantshoulder.com
2005-02-03upgrade PV for opie_cvs packagesMichael Lauer
2005-02-02compute TAG line in opie.bbclass instead of in (all) opie filesMichael Lauer
2005-02-02Merge bk://oe-devel@oe-devel.bkbits.net/openembeddedMichael Lauer
2004-12-27Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2004-12-26Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson
e-error-for-archiver-bbclass OpenEmbedded Core user contribution treesGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh
blob: e72ce49f9968f5cb40466f9dfa3ae06ab73be7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#! /bin/sh

#
# Generate the common perl configuration
# Needs to be run on a host that matches the bitsize of the target platform
#

echo sh Configure -des \
        -Doptimize=-O2 \
        -Dmyhostname=localhost \
        -Dperladmin=root@localhost \
        -Dcc=gcc \
        -Dcf_by='Open Embedded' \
        -Dinstallprefix=@DESTDIR@ \
        -Dprefix=/usr \
        -Dvendorprefix=/usr \
        -Dsiteprefix=/usr \
        -Dotherlibdirs=/usr/lib/perl5/5.12.3 \
        -Duseshrplib \
        -Dusethreads \
        -Duseithreads \
        -Duselargefiles \
        -Ud_dosuid \
        -Dd_semctl_semun \
        -Ui_db \
        -Ui_ndbm \
        -Ui_gdbm \
        -Di_shadow \
        -Di_syslog \
        -Dman3ext=3pm \
        -Duseperlio \
        -Dinstallusrbinperl \
        -Ubincompat5005 \
        -Uversiononly \
        -Dpager='/usr/bin/less -isr'

cp -f config.sh config.sh.COMMON

TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#")

sed -r -i config.sh.COMMON \
	-e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \
	-e 's#'$TARGETOS'#@ARCH@#g'