[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / suse131_alsa

File: [cvs.NetBSD.org] / pkgsrc / emulators / suse131_alsa / Makefile (download)

Revision 1.1, Thu Dec 5 11:42:14 2013 UTC (5 years, 10 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4

Added openSUSE 13.1 packages, provides a number of components for a
openSUSE-based Linux binary emulation environment.

# $NetBSD: Makefile,v 1.1 2013/12/05 11:42:14 obache Exp $

DISTNAME=	suse_alsa-${SUSE_VERSION}
CATEGORIES=	emulators
RPMUPDPKGS+=	alsa-1.0.27.2-3.5.1.${SUSE_ARCH}
RPMPKGS+=	alsa-oss-1.0.25-8.1.2.${SUSE_ARCH}
RPMPKGS+=	alsa-plugins-1.0.27-3.1.1.${SUSE_ARCH}
RPMPKGS+=	alsa-plugins-pulse-1.0.27-3.1.1.${SUSE_ARCH}
RPMPKGS+=	alsa-utils-1.0.27.2-4.2.1.${SUSE_ARCH}
RPMUPDPKGS+=	libasound2-1.0.27.2-3.5.1.${SUSE_ARCH}

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Linux compatibility package for ALSA

EMUL_MODULES.linux=	base pulseaudio

PLIST_SRC=	${PKGDIR}/PLIST ${RPM2PKG_PLIST}

post-install:
	${INSTALL_DATA} ${FILESDIR}/60-oss.conf \
		${DESTDIR}${PREFIX}/${EMULSUBDIR}/usr/share/alsa/alsa.conf.d/
	${SED} -e 's/"sysdefault"/"oss"/g' \
		< ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/asound-pulse.conf \
		> ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/asound.conf

.include "../../emulators/suse131_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"