void-packages/srcpkgs/cdrdao/template

25 lines
717 B
Bash

# Template file for 'cdrdao'
pkgname=cdrdao
version=1.2.3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="lame-devel libmad-devel libvorbis-devel libao-devel"
short_desc="Records audio or data CD-Rs in disk-at-once (DAO) mode"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-2"
homepage="http://cdrdao.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/cdrdao/cdrdao/1.2.3/cdrdao-1.2.3.tar.bz2"
checksum=8193cb8fa6998ac362c55807e89ad0b3c63edc6b01afaeb3d5042519527fb75e
pre_build() {
local f
if [ -n "$CROSS_BUILD" ]; then
# build antlr and dlg for the host
for f in antlr dlg; do
cd ${wrksrc}/pccts/$f
make CC=gcc LD=gcc CFLAGS="-O2 -pipe" LDFLAGS="-s"
done
fi
}