mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
liboauth: added recipe for version 1.0.3.
This commit is contained in:
83
net-libs/liboauth/liboauth-1.0.3.recipe
Normal file
83
net-libs/liboauth/liboauth-1.0.3.recipe
Normal file
@@ -0,0 +1,83 @@
|
||||
SUMMARY="A collection of C functions implementing the http://oauth.net API"
|
||||
DESCRIPTION="
|
||||
liboauth provides functions to escape and encode stings according to \
|
||||
OAuth specifications and offers high-level functionality built on top to sign \
|
||||
requests or verify signatures using either NSS or OpenSSL for calculating \
|
||||
the hash/signatures.
|
||||
"
|
||||
HOMEPAGE="http://liboauth.sourceforge.net"
|
||||
COPYRIGHT="
|
||||
2007-2014 Robin Gareus
|
||||
"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
MIT
|
||||
"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/liboauth/liboauth-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="liboauth-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
liboauth$secondaryArchSuffix = $portVersion compat >= 1
|
||||
lib:liboauth$secondaryArchSuffix = 0.8.7 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/liboauth.la
|
||||
|
||||
prepareInstalledDevelLibs liboauth
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$manDir/man3 \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
liboauth${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
devel:liboauth$secondaryArchSuffix = 0.8.7 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
liboauth$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
22
net-libs/liboauth/patches/liboauth-1.0.3.patchset
Normal file
22
net-libs/liboauth/patches/liboauth-1.0.3.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 0a1842365f336e558983b45986379029b10d5748 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sun, 24 May 2015 20:19:50 +0000
|
||||
Subject: Haiku patch
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 828f730..0dbdd7f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -25,7 +25,7 @@ AC_CANONICAL_TARGET([])
|
||||
AC_COPYRIGHT([Copyright (C) Robin Gareus 2007-2012])
|
||||
AM_INIT_AUTOMAKE(liboauth,$VERSION)
|
||||
|
||||
-AM_CONFIG_HEADER(src/config.h)
|
||||
+AC_CONFIG_HEADERS(src/config.h)
|
||||
|
||||
AC_SUBST(VERSION)
|
||||
AC_SUBST(VERSION_INFO)
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user