pkgsrc/audio/xine-alsa/Makefile

26 lines
684 B
Makefile

# $NetBSD: Makefile,v 1.3 2011/11/17 13:31:36 obache Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/xine-lib/Makefile.common"
PKGNAME= ${XINE_PKGNAME:S/lib/alsa/}
CATEGORIES= audio
COMMENT= The ALSA output plugin for xine-lib
DEPENDS+= xine-lib>=1rc3a:../../multimedia/xine-lib
BUILD_DIRS= ${WRKSRC}/src/audio_out
CONFIGURE_ARGS+= --without-x
INSTALLATION_DIRS= lib/xine/plugins/${XINE_MOD_DIR_VER}
do-install:
cd ${WRKSRC}/src/audio_out && \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
xineplug_ao_out_alsa.la \
${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
.include "../../audio/alsa-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"