33 lines
935 B
Text
33 lines
935 B
Text
# Template file for 'libmtp'
|
|
pkgname=libmtp
|
|
version=1.1.5
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-udev=/usr/lib/udev"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libusb-devel libgcrypt-devel"
|
|
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://libmtp.sourceforge.net"
|
|
license="LGPL-2.1"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=787679171baf8b3cf2fcc03196c705ab4d7cbc969bd71f9d3696be1ce7f1c63a
|
|
long_desc="
|
|
libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
|
|
in the form of a library suitable primarily for POSIX compliant operating
|
|
systems."
|
|
|
|
libmtp-devel_package() {
|
|
depends="libusb-devel libmtp>=${version}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libmtp_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|