mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-28 01:41:25 +02:00
46 lines
1002 B
Plaintext
46 lines
1002 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=liboauth
|
|
pkgver=1.0.3
|
|
pkgrel=3
|
|
pkgdesc="OAuth library functions"
|
|
url="http://liboauth.sourceforge.net/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=""
|
|
makedepends="nss-dev curl-dev automake autoconf libtool"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/x42/liboauth/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
autoreconf -vif
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--enable-nss
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="94976f9e1ae451b3b312664b8d3e7858913673ef783539df4a033a55ffa05e56410a3dab0cfd8a1d9e839bd6d7fedd3258ac8819c7d3cf1357a862174bf49a71 liboauth-1.0.3.tar.gz"
|