wok-next view liboauth/receipt @ rev 20791

Up gnome-games, and add/update all the required dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 10 01:56:40 2018 +0300 (2018-06-10)
parents
children d5aab818505e
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="liboauth-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 }