void-packages/srcpkgs/libmtp/template

36 lines
1020 B
Plaintext
Raw Normal View History

2010-05-09 18:57:08 +02:00
# Template file for 'libmtp'
pkgname=libmtp
2013-09-23 10:55:23 +02:00
version=1.1.6
revision=1
build_style=gnu-configure
2013-09-23 10:55:23 +02:00
configure_args="--disable-static --with-udev=/usr/lib/udev
ac_cv_func_memcmp_working=yes ac_cv_func_malloc_0_nonnull=yes"
hostmakedepends="pkg-config"
makedepends="libusb-devel libgcrypt-devel"
2010-05-09 18:57:08 +02:00
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"
2012-07-09 18:15:29 +02:00
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
2013-09-23 10:55:23 +02:00
checksum=3a1c1c83af91de4052eb54feb795c141b4c04a252e0031954ebbf6175970cb0a
2010-05-09 18:57:08 +02:00
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}"
2013-09-23 10:55:23 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-09-23 10:55:23 +02:00
vmove "usr/lib/*.so"
}
}
libmtp_package() {
pkg_install() {
2013-09-23 10:55:23 +02:00
vmove all
}
}