mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
834 B
Bash
27 lines
834 B
Bash
|
# $Id: PKGBUILD 34447 2009-04-09 11:58:53Z tpowa $
|
||
|
# Maintainer: damir <damir@archlinux.org>
|
||
|
#Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
|
||
|
|
||
|
pkgname=libmtp
|
||
|
pkgver=0.3.7
|
||
|
pkgrel=1
|
||
|
pkgdesc="library implementation of the Media Transfer Protocol"
|
||
|
arch=("i686" "x86_64")
|
||
|
url="http://libmtp.sourceforge.net"
|
||
|
license=("LGPL")
|
||
|
depends=("libusb")
|
||
|
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
|
||
|
options=('!libtool')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
./configure --prefix=/usr
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install
|
||
|
install -D -m0644 libmtp.rules \
|
||
|
$startdir/pkg/lib/udev/rules.d/52-libmtp.rules
|
||
|
install -D -m0644 libmtp.fdi \
|
||
|
$startdir/pkg/usr/share/hal/fdi/information/20thirdparty/libmtp.fdi
|
||
|
}
|
||
|
md5sums=('897c3a84a8bdd78f003820ed5f7fa6cf')
|