aboutsummaryrefslogtreecommitdiffstats
path: root/audio/linux-c6-alsa-lib/Makefile
blob: ce0bfaa3408f4d266ea2c30b8cec326a76ffadb0 (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
# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD$

PORTNAME=   alsa-lib
PORTVERSION=    1.1.0
PORTREVISION=   3
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

DESCR=      ${.CURDIR}/../${PORTNAME}/pkg-descr
RPMVERSION= 4.el6
USES=       linux:c6
USE_LDCONFIG=   yes
USE_LINUX_RPM=  yes

post-patch:
    @${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/usr/lib/alsa-lib/smixer/*.la \
        ${WRKSRC}/usr/lib64/alsa-lib/smixer/*.la

post-install:
    ${LN} -sf ${LOCALBASE}/etc/asound.conf ${STAGEDIR}${PREFIX}/etc

.include <bsd.port.mk>