aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-12 15:40:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-12 15:40:04 +0000
commit846825bea177cf712a9c73eeebb383901c87d0c0 (patch)
treeb3e9b4d1bc3e15fb5a37744d9707a5efc1f718c6 /community
parenteecd5b2df3179926df9750d266c9eea0e59a850f (diff)
downloadaports-846825bea177cf712a9c73eeebb383901c87d0c0.tar.bz2
aports-846825bea177cf712a9c73eeebb383901c87d0c0.tar.xz
community/liboauth: move from testing
needed by libgdata
Diffstat (limited to 'community')
-rw-r--r--community/liboauth/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/liboauth/APKBUILD b/community/liboauth/APKBUILD
new file mode 100644
index 0000000000..47cda6771c
--- /dev/null
+++ b/community/liboauth/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=liboauth
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="OAuth library functions"
+url="http://liboauth.sourceforge.net/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="nss-dev curl-dev automake autoconf libtool"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/x42/liboauth/archive/v$pkgver.tar.gz"
+
+builddir="$srcdir"/liboauth-$pkgver
+
+build() {
+ cd "$builddir"
+ autoreconf -vif || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-nss \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="a334455fe331672cd20c131e61e86df7 liboauth-1.0.3.tar.gz"
+sha256sums="bbe73b9f576fab0deefadb242c069f2f8bfa4068c738b7666ccd01381502c854 liboauth-1.0.3.tar.gz"
+sha512sums="94976f9e1ae451b3b312664b8d3e7858913673ef783539df4a033a55ffa05e56410a3dab0cfd8a1d9e839bd6d7fedd3258ac8819c7d3cf1357a862174bf49a71 liboauth-1.0.3.tar.gz"