bam: update to 0.5.1.

Closes #14899.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
Piotr Wójcik 2018-06-04 14:32:19 +02:00 committed by Enno Boland
parent 07904f395b
commit 2a159f9fba
2 changed files with 11 additions and 12 deletions

View file

@ -1,22 +1,23 @@
# Template file for 'bam'
pkgname=bam
version=0.4.0
revision=3
makedepends="lua52-devel"
short_desc="A fast and flexible build system using Lua"
version=0.5.1
revision=1
makedepends="lua-devel"
short_desc="Fast and flexible build system using Lua"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://github.com/matricks/bam"
distfiles="https://github.com/downloads/matricks/bam/${pkgname}-${version}.tar.gz"
checksum=5e4e4920b4d265da582f66774e9b1ec8ddfbe75ddc028fba86c12f686ea18db3
distfiles="https://github.com/matricks/bam/archive/v${version}.tar.gz"
checksum=cc8596af3325ecb18ebd6ec2baee550e82cb7b2da19588f3f843b02e943a15a9
do_build() {
gcc -Wall -ansi -pedantic src/tools/txt2c.c -o src/tools/txt2c
src/tools/txt2c src/base.lua src/tools.lua src/driver_gcc.lua src/driver_cl.lua >src/internal_base.h
${CC} ${CFLAGS} -Wall -ansi -pedantic src/*.c src/lua/*.c -o bam -I src/lua -lm -lpthread -ldl -rdynamic ${LDFLAGS}
gcc -Wall -pedantic src/tools/txt2c.c -o src/tools/txt2c
src/tools/txt2c src/base.lua src/tools.lua src/driver_gcc.lua src/driver_clang.lua src/driver_cl.lua src/driver_solstudio.lua src/driver_xlc.lua > src/internal_base.h
${CC} ${CFLAGS} -Wall -pedantic src/*.c src/lua/*.c -o bam -I src/lua -lm -lpthread -ldl -rdynamic ${LDFLAGS}
}
do_install() {
vbin bam
vlicense license.txt LICENSE
vlicense COPYING
vlicense src/lua/COPYRIGHT
}

View file

@ -1,2 +0,0 @@
site="http://matricks.github.io/bam/"
pattern='bam-\K[\d.]+\d+'