From 2624ca449c1ad6fbe143da02c0893165d88febe1 Mon Sep 17 00:00:00 2001 From: PktSurf Date: Sat, 9 Nov 2024 11:33:13 +0530 Subject: [PATCH] Restored alsa-utils and alsa-plugins build files in base that were previously deleted in commit 9d657e0a1d --- base/alsa-plugins/smbuild | 33 +++++++++++++++++++++++++++++++++ base/alsa-utils/smbuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 base/alsa-plugins/smbuild create mode 100644 base/alsa-utils/smbuild diff --git a/base/alsa-plugins/smbuild b/base/alsa-plugins/smbuild new file mode 100644 index 0000000..65df623 --- /dev/null +++ b/base/alsa-plugins/smbuild @@ -0,0 +1,33 @@ +# Maintainer: PktSurf +app=alsa-plugins +version=1.2.2 +build=1sml +homepage="http://www.alsa-project.org" +download="" +desc="Plugins for ALSA" +requires="alsa-lib" + +prepbuilddir() { + mkandenterbuilddir + rm -rf $app-$version + + tar xf $srcdir/$app-$version.tar.?z** + cd $app-$version + fixbuilddirpermissions +} + +build() { + ./configure \ + --prefix= + + make + make install DESTDIR=$pkg + + cp COPYING* $pkgdocs/ + + mkfinalpkg +} + +sha512sums=" +f6395a3753fcf2873d8aa54d9dd6f1a772b600de6a9ed9a36d7d64186d526ba1234dd957dd085f4c9ddad9ebf85440ef3c672c646b4e128607649262057b37d7 alsa-plugins-1.2.2.tar.lz +" diff --git a/base/alsa-utils/smbuild b/base/alsa-utils/smbuild new file mode 100644 index 0000000..b36194b --- /dev/null +++ b/base/alsa-utils/smbuild @@ -0,0 +1,35 @@ +# Maintainer: PktSurf +app=alsa-utils +version=1.2.3 +build=2sml +homepage="http://alsa-project.org" +download="" +requires="netbsd-curses alsa-lib" +desc="Userland utilities for ALSA" + +prepbuilddir() { + mkandenterbuilddir + rm -rf $app-$version + + tar xf $srcdir/$app-$version.tar.?z** + cd $app-$version + fixbuilddirpermissions +} + +build() { + ./configure \ + --prefix= \ + --sbindir=/bin \ + --with-udev-rules-dir=/lib/udev/rules.d + + make + make install DESTDIR=$pkg + + cp COPYING $pkgdocs/ + + mkfinalpkg +} + +sha512sums=" +4eea6130a029f7aa323914224c8faa574a9b55ff531876b48b3f9c4016a73ed390c15c17a63e48484cb25119a0f958b746ed4e077bd078bf3c5ee9a2094cddab alsa-utils-1.2.3.tar.lz +"