summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/suse113_alsa/Makefile10
-rw-r--r--emulators/suse113_alsa/PLIST2
2 files changed, 10 insertions, 2 deletions
diff --git a/emulators/suse113_alsa/Makefile b/emulators/suse113_alsa/Makefile
index 2d94f8771ee..f263c4e1bca 100644
--- a/emulators/suse113_alsa/Makefile
+++ b/emulators/suse113_alsa/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2010/12/03 00:19:18 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2011/02/08 20:17:14 ahoka Exp $
DISTNAME= suse_alsa-${SUSE_VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
DISTFILES= alsa-1.0.23-2.12.${SUSE_ARCH}.rpm \
alsa-oss-1.0.17-29.2.${SUSE_ARCH}.rpm \
@@ -15,5 +15,11 @@ COMMENT= Linux compatibility package for ALSA
EMUL_MODULES.linux= base
+PLIST_SRC= ${PKGDIR}/PLIST ${RPM2PKG_PLIST}
+
+post-install:
+ ln -sf ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/alsa-pulse.conf \
+ ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/asound.conf
+
.include "../../emulators/suse113_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse113_alsa/PLIST b/emulators/suse113_alsa/PLIST
new file mode 100644
index 00000000000..80e1b808163
--- /dev/null
+++ b/emulators/suse113_alsa/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2011/02/08 20:17:14 ahoka Exp $
+${EMULSUBDIRSLASH}etc/asound.conf