void-packages/srcpkgs/cdrdao/template
2021-04-11 02:24:27 -03:00

24 lines
732 B
Bash

# Template file for 'cdrdao'
pkgname=cdrdao
version=1.2.4
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="lame-devel libao-devel libmad-devel libvorbis-devel"
short_desc="Records audio or data CD-Rs in disk-at-once (DAO) mode"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://cdrdao.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/cdrdao/${version}/cdrdao-${version}.tar.bz2"
checksum=358d9cb83370ceaecdc60564cbf14c2ea2636eac60a966e2461c011ba09853b4
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
}