diff --git a/srcpkgs/ifenslave/template b/srcpkgs/ifenslave/template index 474aa86da2..ef5d6c9c74 100644 --- a/srcpkgs/ifenslave/template +++ b/srcpkgs/ifenslave/template @@ -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 }