Skip to content
Donald Buczek edited this page Jul 5, 2016 · 4 revisions

experimental 'versionless' feature

Instead of having the full package name as the name of the bee file (e.g. binutils-2.20.1-0.bee) we may start with a more generic bee filename with just a "-0" as version and revision ( binutils-0.bee ) . In that case the full version information must be set from within the beefile with the bee_version callback, stating the full package name with all version information (bee_version binutils-2.20.1-0).

This should be done at the beginning of the beefile, so that features like the variables, which depend on the package version, are available. E.g.

#!/usr/bin/env beesh

bee_version binutils-2.20.1-0

SRCURL[0]="http://ftp.gnu.org/gnu/binutils/binutils-${PKGVERSION}.tar.bz2"
...
Clone this wiki locally