mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
flickcurl, disable static library, cleanup (#8272)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
SUMMARY="C library for the Flickr API"
|
||||
DESCRIPTION="
|
||||
Flickcurl is a C library for the Flickr API, handling creating the \
|
||||
DESCRIPTION="Flickcurl is a C library for the Flickr API, handling creating the \
|
||||
requests, signing, token management, calling the API, marshalling \
|
||||
request parameters and decoding responses. Flickcurl supports all \
|
||||
of the API (see Flickcurl API coverage for details) including the \
|
||||
@@ -11,12 +10,10 @@ pandas and photo/video metadata. It also includes a program flickrdf to \
|
||||
turn photo metadata, tags, machine tags and places into an RDF triples \
|
||||
description."
|
||||
HOMEPAGE="https://librdf.org/flickcurl/"
|
||||
COPYRIGHT="
|
||||
2007-2014 David Beckett
|
||||
2007 Vanilla I. Shu
|
||||
"
|
||||
COPYRIGHT="2007-2014 David Beckett
|
||||
2007 Vanilla I. Shu"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="7"
|
||||
REVISION="8"
|
||||
SOURCE_URI="http://download.dajobe.org/flickcurl/flickcurl-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ff42a36c7c1c7d368246f6bc9b7d792ed298348e5f0f5d432e49f6803562f5a3"
|
||||
PATCHES="flickcurl-$portVersion.patchset"
|
||||
@@ -24,11 +21,14 @@ PATCHES="flickcurl-$portVersion.patchset"
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
flickcurl$secondaryArchSuffix = $portVersion compat >= 1
|
||||
cmd:flickcurl$secondaryArchSuffix
|
||||
cmd:flickrdf$secondaryArchSuffix
|
||||
lib:libflickcurl$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libflickcurl$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -42,7 +42,7 @@ REQUIRES="
|
||||
PROVIDES_devel="
|
||||
flickcurl${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
cmd:flickcurl_config$secondaryArchSuffix
|
||||
devel:libflickcurl$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libflickcurl$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
flickcurl$secondaryArchSuffix == $portVersion base
|
||||
@@ -58,6 +58,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gtkdocize
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
@@ -67,13 +68,14 @@ BUILD_PREREQUIRES="
|
||||
defineDebugInfoPackage flickcurl$secondaryArchSuffix \
|
||||
$binDir/flickcurl \
|
||||
$binDir/flickrdf \
|
||||
$libDir/libflickcurl.so.0.0.0
|
||||
$libDir/libflickcurl.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --with-xml2-config=no \
|
||||
--with-curl-config=no
|
||||
--with-curl-config=no \
|
||||
--disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -84,7 +86,7 @@ INSTALL()
|
||||
# remove libtool library file
|
||||
rm $libDir/libflickcurl.la
|
||||
|
||||
prepareInstalledDevelLibs libflickcurl
|
||||
prepareInstalledDevelLib libflickcurl
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
|
||||
Reference in New Issue
Block a user