summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 06:02:36 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 06:02:36 -0500
commit0912e51b204b4006387a680322dd00f95ff84c8e (patch)
tree6ccedffc5b34bc43f7c36ddeb3c99cdceb7534e5
parent0eb073effd58ce6a5a23d7dd502441ac1e0b11a3 (diff)
downloadpackages-0912e51b204b4006387a680322dd00f95ff84c8e.tar.gz
packages-0912e51b204b4006387a680322dd00f95ff84c8e.tar.bz2
packages-0912e51b204b4006387a680322dd00f95ff84c8e.tar.xz
packages-0912e51b204b4006387a680322dd00f95ff84c8e.zip
user/mpg123: pull in, bump to 1.25.10, fix license, modernise, take
-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"