mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
Adding devmem2
This commit is contained in:
parent
d4679d04a8
commit
418cd0f7d9
1 changed files with 30 additions and 0 deletions
30
aur/devmem2/PKGBUILD
Normal file
30
aur/devmem2/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Contributor: Alexander Lam <lambchop468 *AT* gmail.com>
|
||||
plugrel=1
|
||||
pkgname=devmem
|
||||
pkgver=2
|
||||
pkgrel=1
|
||||
pkgdesc="A small utility to access /dev/mem and read/write to any memory location"
|
||||
arch=('any')
|
||||
url="http://free-electrons.com/pub/mirror/devmem2.c"
|
||||
license=('GPL2')
|
||||
groups=()
|
||||
depends=()
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
provides=()
|
||||
conflicts=()
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
source=("http://free-electrons.com/pub/mirror/${pkgname}${pkgver}.c")
|
||||
noextract=()
|
||||
md5sums=('e23f236e94be4c429aa1ceac0f01544b')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/"
|
||||
gcc devmem2.c -o devmem2
|
||||
install -D -m755 devmem2 ${pkgdir}/usr/sbin/devmem2
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue