summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/mpg123/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/mpg123/APKBUILD b/user/mpg123/APKBUILD
new file mode 100644
index 000000000..ee9890005
--- /dev/null
+++ b/user/mpg123/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=mpg123
+pkgver=1.25.10
+pkgrel=0
+pkgdesc="Real time MPEG Audio player for Layers 1, 2 and 3"
+url="https://www.mpg123.org/"
+arch="all"
+options="libtool textrels"
+license="LGPL-2.1-only"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+makedepends="alsa-lib-dev libtool linux-headers"
+source="https://www.mpg123.org/download/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-dependency-tracking \
+ --with-ipv6 \
+ --with-pic \
+ --with-audio="alsa"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a33666ae4aca7e7c1a93a6414d8c525ec19044c54f712d578180147d88e63033f7af2370b9ad22960cc3a0b454f15967b7a831cccc97e034c8855f70cdf1ab09 mpg123-1.25.10.tar.bz2"