wok-next view liboauth/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 618256f7a332 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="liboauth"
4 VERSION="1.0.3"
5 CATEGORY="security"
6 SHORT_DESC="POSIX-C functions implementing the OAuth Core RFC 5849 standard"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/x42/liboauth"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/x42/liboauth/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="automake libtool curl-dev nss-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir m4
19 autoreconf -fvi &&
21 ./configure \
22 --disable-static \
23 --enable-nss \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 liboauth)
33 copy @std
34 DEPENDS="libcurl nss"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="liboauth curl-dev nss-dev"
39 ;;
40 esac
41 }