pkgsrc/audio/libdiscid/buildlink3.mk
epg 409c007e54 libdiscid is a library for creating MusicBrainz DiscIDs from audio CDs.
It reads a CD's table of contents (TOC) and generates an identifier which
can be used to lookup the CD at MusicBrainz (http://musicbrainz.org).
Additionally, it provides a submission URL for adding the DiscID to
the database.

The interface of this library is new, but the DiscID algorithm and the
operating system dependent CD-ROM/DVD-ROM access code have been ported
from libmusicbrainz version 2.
2006-10-13 02:31:56 +00:00

19 lines
601 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/10/13 02:31:56 epg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDISCID_BUILDLINK3_MK:= ${LIBDISCID_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libdiscid
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdiscid}
BUILDLINK_PACKAGES+= libdiscid
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdiscid
.if ${LIBDISCID_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libdiscid+= libdiscid>=0.1.0
BUILDLINK_PKGSRCDIR.libdiscid?= ../../audio/libdiscid
.endif # LIBDISCID_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}