mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
libmtp: added recipe for version 1.1.6
This commit is contained in:
82
media-libs/libmtp/libmtp-1.1.6.recipe
Normal file
82
media-libs/libmtp/libmtp-1.1.6.recipe
Normal file
@@ -0,0 +1,82 @@
|
||||
SUMMARY="MTP initiator library"
|
||||
DESCRIPTION="
|
||||
libmtp implements an MTP initiator, which means it initiate \
|
||||
MTP sessions with devices. The devices responding are known \
|
||||
as MTP responders. libmtp runs on something with a USB host \
|
||||
controller interface, using libusb to access the host \
|
||||
controller.
|
||||
"
|
||||
HOMEPAGE="http://libmtp.sourceforge.net"
|
||||
COPYRIGHT="
|
||||
Richard Low <richard@wentnet.com>
|
||||
Linus Walleij <triad@df.lth.se>
|
||||
Mariusz Woloszyn <emsi@ipartners.pl>
|
||||
Marcus Meissner <marcus@jet.franken.de>
|
||||
"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libmtp/$portVersionedName.tar.gz"
|
||||
CHECKSUM_SHA256="3a1c1c83af91de4052eb54feb795c141b4c04a252e0031954ebbf6175970cb0a"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="$portVersionedName.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libmtp$secondaryArchSuffix = $portVersion compat >= 1.0
|
||||
lib:libmtp$secondaryArchSuffix = 9.1.0 compat >= 9
|
||||
"
|
||||
# add cmd provides
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libgcrypt$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libusb_1.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libusb_1.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:gettext
|
||||
cmd:pkg_config
|
||||
cmd:doxygen
|
||||
cmd:find
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure # --enable-doxygen
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libmtp
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir # $docDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libmtp${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
|
||||
devel:libmtp$secondaryArchSuffix = 9.1.0 compat >= 9
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libmtp$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user