summaryrefslogtreecommitdiffstats
path: root/libmtp/Pkgfile
blob: a520e84e2f20273db7a867a16859bfe1f7472515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Librairie implementant le Media Transfer Protocol
# URL: http://libmtp.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libusbx
# Run on: libusbx

name=libmtp
version=1.1.3
release=1
source=(http://switch.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--disable-rpath \
		--enable-mtpz
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/doc
}