362 |
./configure \ |
./configure \ |
363 |
--prefix=/usr \ |
--prefix=/usr \ |
364 |
--host=${CHOST} \ |
--host=${CHOST} \ |
365 |
|
--build=${CHOST} \ |
366 |
--mandir=/usr/share/man \ |
--mandir=/usr/share/man \ |
367 |
--infodir=/usr/share/info \ |
--infodir=/usr/share/info \ |
368 |
--datadir=/usr/share \ |
--datadir=/usr/share \ |
651 |
# special tags: |
# special tags: |
652 |
# PKGTYPE type of pkg |
# PKGTYPE type of pkg |
653 |
# INHERITS which functions get included |
# INHERITS which functions get included |
654 |
# SPECIAL_FUNCTIONS special functions wich should also be added |
# SPECIAL_FUNCTIONS special functions which should also be added |
655 |
# warning: they get killed before the build starts ! |
# warning: they get killed before the build starts ! |
656 |
# |
# |
657 |
# MAGE_TREE_DEST target destination of the generated tree |
# MAGE_TREE_DEST target destination of the generated tree |
937 |
echo -e "${COLGREEN}Source package ${COLBLUE}${PNAME}-${PVER}-${PBUILD}.${SRCPKGSUFFIX} ${COLGREEN}successfully builded.${COLDEFAULT}" |
echo -e "${COLGREEN}Source package ${COLBLUE}${PNAME}-${PVER}-${PBUILD}.${SRCPKGSUFFIX} ${COLGREEN}successfully builded.${COLDEFAULT}" |
938 |
} |
} |
939 |
|
|
940 |
|
step_by_step() |
941 |
|
{ |
942 |
|
if [[ ${STEP_BY_STEP} = true ]] |
943 |
|
then |
944 |
|
echo "${COLRED}Step-by-step enabled! Paused after $1.${COLDEFAULT}" |
945 |
|
echo "Press [enter] to continue" |
946 |
|
read |
947 |
|
fi |
948 |
|
} |
949 |
|
|
950 |
|
|
951 |
# print out our version |
# print out our version |
952 |
showversion |
showversion |
1214 |
fi |
fi |
1215 |
|
|
1216 |
src_prepare || die "src_prepare failed" |
src_prepare || die "src_prepare failed" |
1217 |
|
step_by_step $_ |
1218 |
src_compile || die "src_compile failed" |
src_compile || die "src_compile failed" |
1219 |
|
step_by_step $_ |
1220 |
src_install || die "src_install failed" |
src_install || die "src_install failed" |
1221 |
|
step_by_step $_ |
1222 |
|
|
1223 |
|
|
1224 |
# compressing doc, info & man files |
# compressing doc, info & man files |