void-packages/srcpkgs/ftjam/template

28 lines
767 B
Bash

# Template file for 'ftjam'
pkgname=ftjam
reverts="2.5.3rc2_1 2.5.3rc2_2 2.5.3rc2_3 2.5.3rc2_4 2.5.3rc2_5"
version=2.5.2
revision=1
build_style=gnu-configure
hostmakedepends="bison"
short_desc="FreeType's version of the Jam build tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Jam"
homepage="http://freetype.org/jam/"
# distfiles="http://david.freetype.org/jam/${pkgname}-${version}.tar.bz2"
distfiles="${SOURCEFORGE_SITE}/freetype/ftjam-${version}.tar.bz2"
checksum=e89773500a92912de918e9febffabe4b6bce79d69af194435f4e032b8a6d66a3
nocross=yes
provides="jam-${version}_${revision}"
replaces="jam>=0"
do_build() {
unset AR
export LINKFLAGS="$LDFLAGS" CCFLAGS="$CFLAGS"
make ${makejobs}
}
post_install() {
head -n13 jam.c >LICENSE
vlicense LICENSE
}