mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
647 B
Bash
31 lines
647 B
Bash
|
# 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:
|