summaryrefslogblamecommitdiff
path: root/user/libmtp/APKBUILD
blob: e6187c747abcd3a6a94490a57c9d3de11b91b8ec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                       










                                         



                  



                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libmtp
pkgver=1.1.16
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="0540271930c1c932c5d06dcdd30142d407a4fadd022b195e8339d614fa3ec9b050605bf013b28ac6451f4dfcddf7add949c928acb1382802ab5fd6311c1628a0  libmtp-1.1.16.tar.gz"