run-parts: split build stuff into do_build().
--HG-- extra : convert_revision : c505870422bbc9d2ccdb19503c180417d38ac99f
This commit is contained in:
parent
6965801a95
commit
cee86eb88b
|
@ -13,12 +13,17 @@ long_desc="
|
|||
|
||||
Add_dependency full glibc
|
||||
|
||||
do_install()
|
||||
do_build()
|
||||
{
|
||||
cd ${wrksrc} || return 1
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
install -D -m755 run-parts ${DESTDIR}/usr/bin/run-parts || return 1
|
||||
install -D -m644 run-parts.8 \
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -D -m755 ${wrksrc}/run-parts \
|
||||
${DESTDIR}/usr/bin/run-parts || return 1
|
||||
install -D -m644 ${wrksrc}/run-parts.8 \
|
||||
${DESTDIR}/usr/share/man/man8/run-parts.8 || return 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue