607a5119e3
xmms-musepack is an audio output plugin for the XMMS multimedia player. Andree Buschmann's en-/decoder is a great improvement of lossy audio compression compared to MPEG-III.
34 lines
961 B
Makefile
34 lines
961 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 13:30:15 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= xmms-musepack-0.94
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpegplus/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
HOMEPAGE= http://www.sourceforge.net/projects/mpegplus/
|
|
COMMENT= Musepack audio output plugin for XMMS
|
|
|
|
USE_BUILDLINK2= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
CFLAGS+= -DVERSION='"${PKGVERSION}"'
|
|
XMMS_CONFIG= ${BUILDLINK_PREFIX.xmms}/bin/xmms-config
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && for f in *.c; do \
|
|
${SHLIBTOOL} --mode=compile ${CC} ${CFLAGS} \
|
|
`${XMMS_CONFIG} --cflags` -c $$f || break; \
|
|
done
|
|
cd ${WRKSRC} && ${SHLIBTOOL} --mode=link ${CC} ${LDFLAGS} \
|
|
-o libmusepack.la *.lo `${XMMS_CONFIG} --libs` \
|
|
-rpath ${PREFIX}/lib/xmms/Input \
|
|
-module -avoid-version
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${SHLIBTOOL} --mode=install \
|
|
${INSTALL_DATA} libmusepack.la ${PREFIX}/lib/xmms/Input
|
|
|
|
.include "../../audio/xmms/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|