2021-07-12 23:09:37 +02:00

38 lines
888 B
Plaintext

# Maintainer: David Sugar <tychosoft@gmail.com>
# Contributor: David Sugar <tychosoft@gmail.com>
pkgname=libosip2
# Needs to be kept in sync with libexosip2
pkgver=5.2.0
pkgrel=0
pkgdesc="oSIP is an implementation of SIP"
url="https://www.gnu.org/software/osip/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="autoconf automake libtool"
options="libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/osip/libosip2-$pkgver.tar.gz"
prepare() {
default_prepare
./autogen.sh
update_config_sub
update_config_guess
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
--with-gnu-ld
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="cc714ab5669c466ee8f0de78cf74a8b7633f3089bf104c9c1474326840db3d791270159456f9deb877af2df346b04493e8f796b2bb7d2be134f6c08b25a29f83 libosip2-5.2.0.tar.gz"