* work-in-progress commit of my changes for Ingo to pick up

This commit is contained in:
Oliver Tappe
2011-06-14 19:51:04 +00:00
parent 6d42af7e56
commit 76bc471ff6
10 changed files with 30 additions and 17 deletions

View File

@@ -6,9 +6,18 @@ STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="b9b2fdb957f50ada62d73f43ee75d044"
BUILD {
cd perl-5.10.1
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/perl-5.10.1
./Configure -Dprefix=$prefix -Dcf_email=zooey@hirschkaefer.de \
version=5.10.1
arch=BePC-Haiku
cd perl-$version
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/perl-$version
./Configure \
-Dprefix=$prefix \
-Dprivlib=$prefix/lib/perl5/core_perl/$version \
-Dsiteprefix=$prefix/non-packaged \
-Dsitelib=$prefix/non-packaged/lib/perl5/site_perl/$version \
-Dvendorprefix=$prefix \
-Dvendorlib=$prefix/lib/perl5/vendor_perl/$version \
-Dcf_email=zooey@hirschkaefer.de \
-Uusenm -Duseshrplib -Uusemymalloc \
-Dlibpth="$(finddir B_USER_LIB_DIRECTORY) $(finddir B_COMMON_LIB_DIRECTORY) $(finddir B_SYSTEM_LIB_DIRECTORY)" \
-Dusrinc="$(finddir B_SYSTEM_DEVELOP_DIRECTORY)/headers/posix" \
@@ -21,15 +30,15 @@ BUILD {
# force-remove path from sed
sed -i -e 's/LOC_SED\s*"\/boot\/common\/bin\/sed/LOC_SED "sed/' config.h
make
# make
}
INSTALL {
cd perl-5.10.1
make install
cd "${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`"
cd "${DESTDIR}/bin"
chmod a+x perl psed pstruct perlthanks
cd "${DESTDIR}`finddir B_COMMON_LIB_DIRECTORY`"
cd "${DESTDIR}/lib"
ln -sf perl5/5.10.1/BePC-haiku/CORE/libperl.so .
}
LICENSE="GNU GPL v1

View File

@@ -7,14 +7,15 @@ STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd autoconf-2.68
autoreconf
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/autoconf-2.68
PERL="/bin/env perl" M4="/bin/env m4" SED="/bin/env sed" \
PERL="perl" M4="m4" SED="sed" \
./configure --prefix=$prefix \
--datarootdir=$prefix/data \
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/autoconf \
--docdir=$prefix/documentation/packages/autoconf \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man
make

View File

@@ -13,7 +13,7 @@ BUILD {
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/automake \
--docdir=$prefix/documentation/packages/automake \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man
make

View File

@@ -8,12 +8,15 @@ DEPEND=""
BUILD {
cd bison-2.4.3
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/bison-2.4.3
M4="m4" ./configure --prefix=$prefix \
# bison looks for m4 in an absolute path, but uses that only within
# its own testsuite, so we let it be ...
./configure --prefix=$prefix \
--datarootdir=$prefix/data \
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/bison \
--docdir=$prefix/documentation/packages/bison \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld

View File

@@ -18,7 +18,7 @@ BUILD {
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/flex \
--docdir=$prefix/documentation/packages/flex \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld

View File

@@ -14,7 +14,7 @@ BUILD {
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/libtool \
--docdir=$prefix/documentation/packages/libtool \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--with-gnu-ld

View File

@@ -14,7 +14,7 @@ BUILD {
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/m4 \
--docdir=$prefix/documentation/packages/m4 \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld \

View File

@@ -21,7 +21,7 @@ BUILD {
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/m4 \
--docdir=$prefix/documentation/packages/m4 \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld \

View File

@@ -14,7 +14,7 @@ BUILD {
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/m4 \
--docdir=$prefix/documentation/packages/m4 \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld \

View File

@@ -13,7 +13,7 @@ BUILD {
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/patch \
--docdir=$prefix/documentation/packages/patch \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man
make