exherbo-impulze/packages/app-cdr/bin2iso/bin2iso-1.9b.exheres-0

35 lines
732 B
Bash
Raw Normal View History

2008-12-26 20:45:04 +01:00
# Copyright 2008 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2
require toolchain-funcs
SUMMARY="BIN -> ISO/WAV Converter"
DESCRIPTION="
Convert .bin files into .iso files with a .cue file or try to create .cue
files from .bin files
"
HOMEPAGE="http://users.eastlink.ca/~doiron/${PN}/"
SRC="${PN}${PV/./}_linux.c"
DOWNLOADS="${HOMEPAGE}/linux/${SRC}"
LICENCES="public-domain"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS=""
DEPENDENCIES=""
2009-02-25 07:42:25 +01:00
SKIP_FUNCTIONS="unpack"
WORK="${WORKBASE}"
2008-12-26 20:45:04 +01:00
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o "${SRC}.out" "${FETCHEDDIR}/${SRC}" \
|| die "compilation failed"
}
src_install() {
newbin "${SRC}.out" "${PN}"
}
2009-07-29 12:55:27 +02:00