import sam7utils: A utility for programming AT91SAM7 series microcontrollers over USB
This commit is contained in:
commit
36cea8dcbe
3 changed files with 47 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
@ -0,0 +1,19 @@
|
|||
pkgbase = sam7utils
|
||||
pkgdesc = A utility for programming AT91SAM7 series microcontrollers over USB
|
||||
pkgver = 0.2.1
|
||||
pkgrel = 3
|
||||
url = https://bitbucket.org/intgr/sam7utils
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
depends = libusb-compat
|
||||
depends = readline
|
||||
depends = udev
|
||||
options = buildflags
|
||||
source = https://bitbucket.org/intgr/sam7utils/downloads/sam7utils-0.2.1.tar.gz
|
||||
source = 50-atmel-samba.rules
|
||||
md5sums = 4027a3d06500b9e4911b3f548ad7b138
|
||||
md5sums = b3753f3577784190fd4e0ef5d6075323
|
||||
|
||||
pkgname = sam7utils
|
||||
|
5
50-atmel-samba.rules
Normal file
5
50-atmel-samba.rules
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Put this file in /etc/udev/rules.d
|
||||
|
||||
# Allows users in 'users' group access SAM-BA USB devices (part of sam7utils)
|
||||
# Atmel Corp. at91sam SAMBA bootloader
|
||||
ATTR{idVendor}=="03eb", ATTR{idProduct}=="6124", MODE="660", GROUP="users"
|
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Contributor: Marti Raudsepp <marti@juffo.org>
|
||||
pkgname=sam7utils
|
||||
pkgver=0.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="A utility for programming AT91SAM7 series microcontrollers over USB"
|
||||
arch=(i686 x86_64)
|
||||
license=('GPL')
|
||||
url="http://oss.tekno.us/sam7utils/"
|
||||
#depends=('libusb' 'readline' 'udev')
|
||||
source=(http://oss.tekno.us/sam7utils/$pkgname-$pkgver.tar.gz
|
||||
50-atmel-samba.rules)
|
||||
md5sums=('4027a3d06500b9e4911b3f548ad7b138'
|
||||
'b3753f3577784190fd4e0ef5d6075323')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
make DESTDIR=$pkgdir install || return 1
|
||||
|
||||
install -d $pkgdir/etc/udev/rules.d
|
||||
install $srcdir/50-atmel-samba.rules $pkgdir/etc/udev/rules.d
|
||||
}
|
Loading…
Reference in a new issue