first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

13
build/node_modules/advpng-bin/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
'use strict';
var path = require('path');
var BinWrapper = require('bin-wrapper');
var pkg = require('../package.json');
var url = 'https://raw.github.com/imagemin/advpng-bin/v' + pkg.version + '/vendor/';
module.exports = new BinWrapper()
.src(url + 'osx/advpng', 'darwin')
.src(url + 'linux/advpng', 'linux')
.src(url + 'win32/advpng.exe', 'win32')
.dest(path.join(__dirname, '../vendor'))
.use(process.platform === 'win32' ? 'advpng.exe' : 'advpng');

30
build/node_modules/advpng-bin/lib/install.js generated vendored Normal file
View File

@@ -0,0 +1,30 @@
'use strict';
var BinBuild = require('bin-build');
var log = require('logalot');
var bin = require('./');
bin.run(['--version'], function (err) {
if (err) {
log.warn(err.message);
log.warn('advpng pre-build test failed');
log.info('compiling from source');
var builder = new BinBuild()
.src('http://prdownloads.sourceforge.net/advancemame/advancecomp-1.19.tar.gz')
.cmd('autoreconf -fiv')
.cmd('./configure --prefix="' + bin.dest() + '" --bindir="' + bin.dest() + '"')
.cmd('make install');
return builder.run(function (err) {
if (err) {
log.error(err.stack);
return;
}
log.success('advpng built successfully');
});
}
log.success('advpng pre-build test passed successfully');
});