blob: 8f7da9e1820b4c3d03229781e9847fe050c4fc99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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>
|