New package: bam-0.4.0

This commit is contained in:
Christian Neukirchen 2014-08-21 23:41:33 +02:00
parent d46a7a4b60
commit b17294f7e8
1 changed files with 22 additions and 0 deletions

22
srcpkgs/bam/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'bam'
pkgname=bam
version=0.4.0
revision=1
makedepends="lua-devel"
short_desc="A 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
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}
}
do_install() {
vbin bam
vlicense license.txt LICENSE
}