Browse Source

add more drivers

master
parent
commit
cd658136b2
  1. 9
      node-phantomjs/node-phantomjs.spec

9
node-phantomjs/node-phantomjs.spec

@ -62,11 +62,18 @@ PreReq: OpenPKG, openpkg >= 20120101, node, phantomjs
%build
# remove local (binary-incompatible) PhantomJS implementation copy
rm -rf node_modules/phantomjs/lib/phantom
rm -rf node_modules/phantomjs-server/node_modules/phantomjs/lib/phantom
# hook in our global (binary-compatible) PhantomJS implementation
%{l_shtool} subst \
-e 's;phantom/bin/phantomjs;%{l_prefix}/bin/phantomjs;' \
lib/location.js
node_modules/phantomjs/lib/location.js
%{l_shtool} subst \
-e 's;phantom/bin/phantomjs;%{l_prefix}/bin/phantomjs;' \
node_modules/phantomjs-server/node_modules/phantomjs/lib/location.js
%{l_shtool} subst \
-e 's;\./node_modules/phantomjs/bin/phantomjs;%{l_prefix}/bin/phantomjs;' \
node_modules/phantomjs-server/lib/index.js
%install
# create installation directory

Loading…
Cancel
Save