mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 08:56:23 -04:00
Framework: more tools.git-friendly approach to previous
This commit is contained in:
parent
cc6ca832b2
commit
372bf687c8
1 changed files with 3 additions and 4 deletions
|
|
@ -201,11 +201,10 @@ PKGDIR?=${WRKDIR}/pkg
|
|||
package: check
|
||||
@rm -rf ${WRKSRC}
|
||||
@mkdir -p ${WRKSRC} ${PKGDIR}
|
||||
.if !empty(PLUGIN_DEPENDS)
|
||||
@${PKG} install -yA ${PLUGIN_DEPENDS}
|
||||
.endif
|
||||
.for DEP in ${PLUGIN_DEPENDS}
|
||||
@if ! ${PKG} info ${DEP} > /dev/null; then ${PKG} install -yA ${DEP}; fi
|
||||
.endfor
|
||||
@${MAKE} DESTDIR=${WRKSRC} FLAVOUR=${FLAVOUR} metadata
|
||||
@${PKG} autoremove -y
|
||||
@${MAKE} DESTDIR=${WRKSRC} FLAVOUR=${FLAVOUR} install
|
||||
@${PKG} create -v -m ${WRKSRC} -r ${WRKSRC} \
|
||||
-p ${WRKSRC}/plist -o ${PKGDIR}
|
||||
|
|
|
|||
Loading…
Reference in a new issue