summaryrefslogtreecommitdiff
path: root/user/libmtp/APKBUILD
blob: 1baa0e7b489acc08bd24eed01cd24deeb4b0a3a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libmtp
pkgver=1.1.17
pkgrel=0
pkgdesc="Library for accessing MTP (Media Transfer Protocol) devices"
url="http://libmtp.sourceforge.net/"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="libgcrypt-dev libusb-dev"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/libmtp/libmtp-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f2648e259529bd3dfe74a7049a79c4b0042bcaf63cc1fec8b232b66312d62e9620280e4f725312c9ef8207f1f1ceac19f460a0a8772a3cc6c7f0b00ead01add2  libmtp-1.1.17.tar.gz"