net-tools: split build stuff into do_build().

--HG--
extra : convert_revision : ab904f04015a8dbbae48c7ea7203ad5a44c53117
This commit is contained in:
Juan RP 2010-01-16 03:40:51 +01:00
parent c504b30c7a
commit 0ae9607dcc

View file

@ -12,13 +12,18 @@ long_desc="
Add_dependency run glibc Add_dependency run glibc
do_install() do_build()
{ {
cd $wrksrc cd ${wrksrc} || return 1
. $XBPS_HELPERSDIR/replace-interpreter.sh . $XBPS_HELPERSDIR/replace-interpreter.sh
replace_interpreter bash configure.sh replace_interpreter bash configure.sh
yes "" | make || exit 1 yes "" | make || return 1
make BASEDIR=${DESTDIR} update }
do_install()
{
cd ${wrksrc} || return 1
make BASEDIR=${DESTDIR} update || return 1
rm -rf ${DESTDIR}/usr/share/man/man1 rm -rf ${DESTDIR}/usr/share/man/man1
} }