summaryrefslogtreecommitdiff
path: root/manualPorts/jmtpfs/Pkgfile
blob: 2cb77435231b5cd18aef4986d6325f4a20ec6dbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: FUSE and libmtp based filesystem for accessing MTP (Media Transfer Protocol) devices
# URL: https://github.com/JasonFerrara/jmtpfs
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: fuse libmtp

name=jmtpfs
version=0.5
release=1
source=("https://github.com/JasonFerrara/jmtpfs/archive/v$version/jmtpfs-v$version.tar.gz")

build() {
	cd $name-$version

	./configure \
		CXXFLAGS=-lpthread \
		--prefix=/usr

	make
	make DESTDIR="$PKG" install
	ln -s jmtpfs "$PKG"/usr/bin/mount.jmtpfs
	ln -s jmtpfs "$PKG"/usr/bin/mount.fuse.jmtpfs
}