wok-next view liboauth/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
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 }