diff options
| author | Minecrell <minecrell@minecrell.net> | 2020-04-16 10:28:13 +0200 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-17 05:54:14 +0000 |
| commit | f2edb71892c60a58243b328dc6dd4cd3cf7651fd (patch) | |
| tree | 4a6c404bcb4a22b214a0e6a1824d0f103a8bc8ba /testing/tinycompress | |
| parent | 7b2707584659751048ed79a037fc9f92262ee1e3 (diff) | |
| download | aports-f2edb71892c60a58243b328dc6dd4cd3cf7651fd.tar.bz2 aports-f2edb71892c60a58243b328dc6dd4cd3cf7651fd.tar.xz | |
testing/tinycompress: new aport
Diffstat (limited to 'testing/tinycompress')
| -rw-r--r-- | testing/tinycompress/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/tinycompress/APKBUILD b/testing/tinycompress/APKBUILD new file mode 100644 index 0000000000..bd5c57882a --- /dev/null +++ b/testing/tinycompress/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Minecrell <minecrell@minecrell.net> +# Maintainer: Minecrell <minecrell@minecrell.net> +pkgname=tinycompress +pkgver=1.2.2 +pkgrel=0 +pkgdesc="Userspace library for ALSA compressed APIs" +url="https://www.alsa-project.org" +arch="all" +license="BSD-3-Clause OR LGPL-2.1-only" +makedepends="linux-headers ffmpeg-dev" +subpackages="$pkgname-dev $pkgname-fcplay" +source="ftp://ftp.alsa-project.org/pub/tinycompress/tinycompress-$pkgver.tar.bz2" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-fcplay + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +fcplay() { + pkgdesc="$pkgdesc (fcplay tool)" + license="LGPL-2.1-only" + + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/fcplay "$subpkgdir"/usr/bin/fcplay +} + +sha512sums="b33c9cb9c61959e8a540553b56a42933ff7cc864ad10b614b4ac4bc2cd709f0723611f2adf9ce7795a177ee882b9520ae81fa2aa54e11b80f663f73366228fdb tinycompress-1.2.2.tar.bz2" |
