aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tox/APKBUILD
blob: 892c4f0c1d0e3a7ea5a97f14d7c4232d8ff8aa26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=tox
pkgver=0.2052.d0e3712
pkgrel=1
pkgdesc='Free as in freedom Skype replacement'
arch='x86'
url='http://tox.im/'
license='GPL3'
makedepends='libsodium-dev libconfig-dev ffmpeg-dev opus-dev libvpx-dev
             autoconf automake libtool'
subpackages="$pkgname-dev"
source="http://dev.alpinelinux.org/archive/tox/tox-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
  cd "$_builddir"
  autoreconf -fi || return 1
}

build() {
  cd "$_builddir"
  ./configure --prefix=/usr || return 1
  make || return 1
}

package() {
  make -C "$_builddir" DESTDIR="$pkgdir" install || return 1
  find "$pkgdir" -name \*.la -delete || return 1
}

md5sums="24e46aa47cd4058bd7b45c7bb01151d4  tox-0.2052.d0e3712.tar.xz"
sha256sums="601513f682743b25c7affaa861cc863febf308fa3d7c8d03b87d5875f2e48889  tox-0.2052.d0e3712.tar.xz"
sha512sums="afd27d85fb30d03e64d7744bd94dfc450dc56e0ed89b43406688b0dde6d0e328ac3b532f7ef8c6b3b60c8e141993b701b7e5d08217f2140b99b3ed672cfa1cc7  tox-0.2052.d0e3712.tar.xz"