cloudfoundry-community / bosh-gen

Rapid generation of BOSH releases
MIT License
68 stars 21 forks source link

Add "package <name> -f path/to/blob-1.2.3.tgz -v 1.2.3" #99

Open drnic opened 7 years ago

drnic commented 7 years ago

Packages don't need to have explicit versions in files. The above example should produce:

---
name: softhsm
dependencies: []
files:
- softhsm/SoftHSMv2-*.tar.gz
...
tar xfv softhsm/SoftHSMv2-*.tar.gz
cd SoftHSMv2-*
./configure --prefix=${BOSH_INSTALL_TARGET}
make -j${CPUS} && make install
# Alternatively, to copy archive contents:
# cp -a SoftHSMv2-*/* $BOSH_INSTALL_TARGET