sam7utils: Fix build with GCC 4.6 (thanks to jase!), point source to a working mirror, fix depends line
This commit is contained in:
parent
36cea8dcbe
commit
6c7f35618b
1 changed files with 6 additions and 3 deletions
9
PKGBUILD
9
PKGBUILD
|
@ -1,19 +1,22 @@
|
||||||
# Contributor: Marti Raudsepp <marti@juffo.org>
|
# Contributor: Marti Raudsepp <marti@juffo.org>
|
||||||
pkgname=sam7utils
|
pkgname=sam7utils
|
||||||
pkgver=0.2.1
|
pkgver=0.2.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A utility for programming AT91SAM7 series microcontrollers over USB"
|
pkgdesc="A utility for programming AT91SAM7 series microcontrollers over USB"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
options=('buildflags')
|
||||||
url="http://oss.tekno.us/sam7utils/"
|
url="http://oss.tekno.us/sam7utils/"
|
||||||
#depends=('libusb' 'readline' 'udev')
|
depends=('libusb-compat' 'readline' 'udev')
|
||||||
source=(http://oss.tekno.us/sam7utils/$pkgname-$pkgver.tar.gz
|
# Original source: http://oss.tekno.us/sam7utils/$pkgname-$pkgver.tar.gz
|
||||||
|
source=(http://txrxio.net/wp/basket/makingthings/$pkgname-$pkgver.tar.gz
|
||||||
50-atmel-samba.rules)
|
50-atmel-samba.rules)
|
||||||
md5sums=('4027a3d06500b9e4911b3f548ad7b138'
|
md5sums=('4027a3d06500b9e4911b3f548ad7b138'
|
||||||
'b3753f3577784190fd4e0ef5d6075323')
|
'b3753f3577784190fd4e0ef5d6075323')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd $srcdir/$pkgname-$pkgver
|
||||||
|
CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable"
|
||||||
./configure --prefix=/usr || return 1
|
./configure --prefix=/usr || return 1
|
||||||
make || return 1
|
make || return 1
|
||||||
make DESTDIR=$pkgdir install || return 1
|
make DESTDIR=$pkgdir install || return 1
|
||||||
|
|
Loading…
Reference in a new issue