aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Fisher Romanoff <sol@solfisher.com>2021-09-20 12:31:42 +0300
committerdispatch <dispatch@listserv.local>2021-09-20 09:31:52 +0000
commit87b6edaac1aa89d55d6442b3f051af5e943a4c7b (patch)
treea5c6a4d6352abfd1336dbfec2b9692dab4893238
parent6ce5797cbe1a8d11d96cb8726debd986556b38da (diff)
downloadaports-patches/3671.tar.gz
aports-patches/3671.tar.bz2
aports-patches/3671.tar.xz
testing/twolame: new aportpatches/3671
https://twolame.org MPEG Audio Layer 2 (MP2) encoder
-rw-r--r--testing/twolame/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/twolame/APKBUILD b/testing/twolame/APKBUILD
new file mode 100644
index 0000000000..f1e2b9e102
--- /dev/null
+++ b/testing/twolame/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Sol Fisher Romanoff <sol@solfisher.com>
+# Maintainer: Sol Fisher Romanoff <sol@solfisher.com>
+pkgname=twolame
+pkgver=0.4.0
+pkgrel=0
+pkgdesc="MPEG Audio Layer 2 (MP2) encoder"
+url="https://twolame.org"
+arch="all"
+license="LGPL-2.1"
+makedepends="autoconf automake libtool libsndfile-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/njh/twolame/archive/refs/tags/$pkgver.tar.gz"
+
+prepare() {
+ default_prepare
+ autoreconf -vfi
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+9a0d3ef430ca93b561caa7e56fe60c126135b1c36294a280fa21699402b3922a3992035f3d421f3bbe131cdc04459cc907059dfe0c2f512427f305fe3936e54d twolame-0.4.0.tar.gz
+"