# Created by: Piotr Kubaj # $FreeBSD: head/audio/linux-c7-alsa-lib/Makefile 432996 2017-02-01 09:55:43Z tijl $ PORTNAME= alsa-lib PORTVERSION= 1.1.1 PORTREVISION= 2 CATEGORIES= audio linux MAINTAINER= emulation@FreeBSD.org COMMENT= Advanced Linux Sound Architecture libraries (Linux CentOS ${LINUX_DIST_VER}) LICENSE= GPLv3 RUN_DEPENDS= alsa-lib>0:audio/alsa-lib CONFLICTS= linux-c6-${PORTNAME}-[0-9]* RPMVERSION= 1.el7 USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes post-patch: @${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/lib/modprobe.d \ ${WRKSRC}/usr/share/doc/alsa-lib post-install: ${LN} -sf ${LOCALBASE}/etc/asound.conf ${STAGEDIR}${PREFIX}/etc .include