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 Linus Walleij Mariusz Woloszyn Marcus Meissner" LICENSE="GNU LGPL v2.1" REVISION="2" SOURCE_URI="http://prdownloads.sourceforge.net/libmtp/libmtp-$portVersion.tar.gz" CHECKSUM_SHA256="3a1c1c83af91de4052eb54feb795c141b4c04a252e0031954ebbf6175970cb0a" PATCHES="libmtp-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" libmtp$secondaryArchSuffix = $portVersion compat >= 1.0 lib:libmtp$secondaryArchSuffix = 9.1.0 compat >= 9 " # add cmd provides REQUIRES=" haiku$secondaryArchSuffix lib:libgcrypt$secondaryArchSuffix lib:libiconv$secondaryArchSuffix lib:libusb_1.0$secondaryArchSuffix " PROVIDES_devel=" libmtp${secondaryArchSuffix}_devel = $portVersion compat >= 1.0 devel:libmtp$secondaryArchSuffix = 9.1.0 compat >= 9 " REQUIRES_devel=" libmtp$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel 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$secondaryArchSuffix cmd:doxygen cmd:find " BUILD() { runConfigure ./configure # --enable-doxygen make $jobArgs } INSTALL() { make install prepareInstalledDevelLibs libmtp fixPkgconfig # devel package packageEntries devel \ $developDir # $docDir }