freebsd-ports/audio/linux-c6-alsa-lib/Makefile
Antoine Brodin 364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00

38 lines
1 KiB
Makefile

# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD$
PORTNAME= alsa-lib
PORTVERSION= 1.0.22
PORTREVISION= 2
CATEGORIES= audio linux
PKGNAMEPREFIX= linux-${USE_LINUX}-
MAINTAINER= emulation@FreeBSD.org
COMMENT= Advanced Linux Sound Architecture libraries (Linux CentOS ${LINUX_DIST_VER})
LICENSE= GPLv3
RUN_DEPENDS= alsa-lib>0:${PORTSDIR}/audio/alsa-lib
CONFLICTS= linux-alsa-lib-[0-9]* linux-f8-alsa-lib-[0-9]* linux-f10-alsa-lib-[0-9]*
BRANDELF_FILES= usr/bin/aserver
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= c6
USE_LINUX_RPM= yes
RPMVERSION= 3.el6
USE_LDCONFIG= yes
# We will use native configuration file, so delete a linux one
post-extract:
@${RM} -r ${WRKSRC}/etc
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${LN} -fs ${LOCALBASE}/etc/asound.conf ${STAGEDIR}${PREFIX}/etc
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-ac97.la
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-hda.la
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-sbase.la
.include <bsd.port.mk>