Skip to content
Snippets Groups Projects
Commit 42cf935b authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

[lua-rfsm] Add missing dependency on pax

While here, use INSTALLATION_DIRS instead of hardcoding install -d stuff
parent e0c25c07
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ DISTNAME= lua-rfsm-${PKG_VERSION}
CATEGORIES= supervision
MASTER_SITES= https://github.com/kmarkus/rFSM.git@${COMMIT}
FETCH_METHOD= git
PKGREVISION= 1
PKGREVISION= 2
MAINTAINER= arnaud.degroote@isae.fr
COMMENT= rFSM is a reduced (lightweight) Statechart implementation written in pure Lua.
......@@ -16,16 +16,13 @@ LICENSE= gnu-lgpl-v3
NO_CONFIGURE= yes
NO_BUILD= yes
INSTALLATION_DIRS= bin lib/lua/rfsm share/doc/rfsm share/rfsm/examples
include ../../archivers/pax/depend.mk
include ../../mk/sysdep/lua.mk
include ../../mk/robotpkg.mk
do-install:
install -d ${PREFIX}/bin
install -d ${PREFIX}/lib/lua/rfsm
install -d ${PREFIX}/share/doc/rfsm
install -d ${PREFIX}/share/rfsm/examples
cd ${WRKSRC}/tools && ${PAX} -rwp ma rfsm* ${PREFIX}/bin
cd ${WRKSRC} && ${PAX} -rwp ma *.lua ${PREFIX}/lib/lua/rfsm
cd ${WRKSRC}/doc && ${PAX} -rwp ma . ${PREFIX}/share/doc/rfsm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment