summaryrefslogtreecommitdiff
path: root/extra/libifp/PKGBUILD
blob: 80bdad06a8b8f83dafdc580531cb72004e797ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 149577 2012-02-08 14:57:04Z tpowa $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Mark Rosenstand <mark@borkware.net>

pkgname=libifp
pkgver=1.0.0.2
pkgrel=4
pkgdesc="General-purpose library-driver for iRiver's iFP portable audio players"
arch=('i686' 'x86_64')
license=('GPL')
url="http://ifp-driver.sourceforge.net/libifp/"
depends=('libusb-compat')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/ifp-driver/${pkgname}-${pkgver}.tar.gz)
md5sums=('d4114794b13bd32b6b767e0870df6fc4')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man --with-libusb
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}