Files
haikuports/dev-libs/libusb/libusb-1.0.19.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

94 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="A library that provides generic access to USB devices"
DESCRIPTION="
libusb is a library that provides generic access to USB devices. As a library, \
it is meant to be used by developers, to facilitate the production of \
applications that communicate with USB hardware.
It is portable: Using a single cross-platform API, it provides access to USB \
devices on Linux, OS X, Windows and OpenBSD.
It is user-mode: No special privilege or elevation is required for the \
application to communicate with a device.
It is version-agnostic: All versions of the USB protocol, from 1.0 to 3.0 \
(latest), are supported.
"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="
2001 Johannes Erdfelt
2007-2009 Daniel Drake
2010-2012 Peter Stuge
2008-2013 Nathan Hjelm
2009-2013 Pete Batard
2009-2013 Ludovic Rousseau
2010-2012 Michael Plante
2011-2013 Hans de Goede
2012-2013 Martin Pieuchot
2012-2013 Toby Gray
"
HOMEPAGE="http://libusb.org/"
SRC_URI="git+git://github.com/libusb/libusb.git#a447fa4cd517e5393c0f1504b1a35b095aafa334"
REVISION="2"
ARCHITECTURES="x86 x86_64 x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libusb$secondaryArchSuffix = $portVersion
lib:libusb_1.0$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
REQUIRES+="
lib:libgcc_s$secondaryArchSuffix
"
fi
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:autoconf
cmd:automake
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtool
cmd:make
cmd:sed
"
BUILD()
{
sh bootstrap.sh
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# set up the develop directory correctly
prepareInstalledDevelLibs libusb-1.0
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libusb${secondaryArchSuffix}_devel = $portVersion
devel:libusb_1.0${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
libusb${secondaryArchSuffix} == $portVersion base
"