mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
28 lines
832 B
Bash
28 lines
832 B
Bash
# $Id: PKGBUILD 67200 2010-02-04 14:57:41Z ibiru $
|
|
# Contributor: damir <damir@archlinux.org>
|
|
# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
|
|
|
|
pkgname=libmtp
|
|
pkgver=1.0.2
|
|
pkgrel=2
|
|
pkgdesc="library implementation of the Media Transfer Protocol"
|
|
arch=("i686" "x86_64")
|
|
url="http://libmtp.sourceforge.net"
|
|
license=("LGPL")
|
|
depends=("libusb-compat")
|
|
#makedepends=('doxygen')
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('cdc1cc6afa6be287ff6bc331e71bdc47')
|
|
options=('!libtool')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install
|
|
install -D -m0644 libmtp.rules \
|
|
$pkgdir/lib/udev/rules.d/52-libmtp.rules
|
|
install -D -m0644 libmtp.fdi \
|
|
$pkgdir/usr/share/hal/fdi/information/20thirdparty/libmtp.fdi
|
|
}
|