aboutsummaryrefslogtreecommitdiffstats
path: root/audio/linux-f10-alsa-lib/Makefile
blob: 573c8d7b4ca62ede4a5eff8d845b92f782590d16 (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
# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$

PORTNAME=   alsa-lib
PORTVERSION=    1.0.21
PORTREVISION=   5
CATEGORIES= audio linux
MASTER_SITES=   LOCAL/ehaupt/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}

MAINTAINER= emulation@FreeBSD.org
COMMENT=    Advanced Linux Sound Architecture libraries (Linux Fedora 10)

RUN_DEPENDS=    alsa-lib>0:${PORTSDIR}/audio/alsa-lib

CONFLICTS=  linux-alsa-lib-[0-9]* linux-f8-alsa-lib-[0-9]*

ONLY_FOR_ARCHS= i386 amd64
USE_LINUX=  f10
USE_LINUX_RPM=  yes

RPMVERSION= 2.fc10
BRANDELF_FILES= usr/bin/aserver
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>