ifenslave: split build stuff into do_build().
--HG-- extra : convert_revision : e86d33b783c57b9866479568be9bcc59ddf7207f
This commit is contained in:
parent
cee86eb88b
commit
76e97f745d
1 changed files with 6 additions and 2 deletions
|
@ -20,12 +20,16 @@ noextract=yes
|
|||
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install()
|
||||
do_build()
|
||||
{
|
||||
cd ${wrksrc} || return 1
|
||||
gcc -Wall -Wstrict-prototypes ${FILESDIR}/ifenslave.c \
|
||||
-o ifenslave || return 1
|
||||
install -D -m755 ifenslave ${DESTDIR}/sbin/ifenslave
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -D -m755 ${wrksrc}/ifenslave ${DESTDIR}/sbin/ifenslave
|
||||
install -D -m644 ${FILESDIR}/ifenslave.8 \
|
||||
${DESTDIR}/usr/share/man/man8/ifenslave.8 || return 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue