Files
haikuports/media-libs/libmtp/libmtp-1.1.6.recipe
Humdinger cedb985ceb De-lint recipes.
*	libfreehand
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libmspub
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libmtp
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libmwaw
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libodfgen
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libprefs
	Removed e-mail from COPYRIGHT.
	Improved DESCRIPTION.
	Re-ordered blocks.

*	librevenge
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	librsync
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libssh2
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libupnp
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libvisio
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	libwps
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	mda_vst
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	mtr
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	ragel
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	soxr
	Improved SUMMARY/DESCRIPTION
	Removed e-mail from COPYRIGHT.
	Re-ordered blocks.

*	waveview
	Removed e-mail from COPYRIGHT.
	Removed duplicate REQUIRES.
	Re-ordered blocks.

*	whisper
	Removed e-mail from COPYRIGHT.
	Added REQUIRES.
	Re-ordered blocks.
2015-08-03 19:52:03 +02:00

77 lines
1.8 KiB
Bash

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
}