blob: 40e160e2ae508fbda6a7e59f8abeca8c1d08cd7c (
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
36
37
38
39
40
41
42
43
44
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=libax25
pkgver=0.0.12
_patchver=rc5
pkgrel=0
pkgdesc="set of functions making it easier to write hamradio programs"
url="http://www.linux-ax25.org/wiki/Libax25"
arch="all"
license="LGPL-2.1-or-later"
makedepends="zlib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.linux-ax25.org/pub/libax25/$pkgname-$pkgver-$_patchver.tar.gz
musl.patch"
builddir="$srcdir"/$pkgname-$pkgver-$_patchver
prepare() {
default_prepare
}
build() {
export CBUILD=$CHOST
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--enable-shared \
--enable-static \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="01aaf1ef5be7a347ec702f890e26e7cad02eff1cc8b4932fe9452cab8012bb0d7cd25f74871d83f188f22a3a5fd600ec57131ddb540a6c746908bf47e42f958f libax25-0.0.12-rc5.tar.gz
e890378c47b3803182f28c7b88ec7db37ec7204f69e7eddf7bd88a76164b3141b8a3278a8985c6c921471caf3b62db046c04b1becd4810f98f3965b0441a6c94 musl.patch"
|