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
1 changed files with 9 additions and 4 deletions

View File

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