60cefc3c80
Closes #14480. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
24 lines
732 B
Bash
24 lines
732 B
Bash
# Template file for 'cdrdao'
|
|
pkgname=cdrdao
|
|
version=1.2.4
|
|
revision=1
|
|
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.eu>"
|
|
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
|
|
}
|