void-packages/srcpkgs/cdrdao/template

25 lines
717 B
Bash
Raw Normal View History

2016-04-30 09:40:54 +00:00
# Template file for 'cdrdao'
pkgname=cdrdao
version=1.2.3
revision=3
2016-04-30 09:40:54 +00:00
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"
2017-05-22 20:36:15 +00:00
maintainer="Orphaned <orphan@voidlinux.eu>"
2016-04-30 09:40:54 +00:00
license="GPL-2"
homepage="http://cdrdao.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/cdrdao/cdrdao/1.2.3/cdrdao-1.2.3.tar.bz2"
checksum=8193cb8fa6998ac362c55807e89ad0b3c63edc6b01afaeb3d5042519527fb75e
2018-01-03 23:41:10 +00:00
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
}