updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / devmem / PKGBUILD
blob589453071b9fc2016f1dcf719820b99e75a07891
1 # Contributor: Alexander Lam <lambchop468 *AT* gmail.com>
2 pkgname=devmem
3 pkgver=2
4 pkgrel=1
5 pkgdesc="A small utility to access /dev/mem and read/write to any memory location"
6 arch=('i686' 'x86_64')
7 url="http://free-electrons.com/pub/mirror/devmem2.c"
8 license=('GPL2')
9 groups=()
10 depends=()
11 makedepends=()
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=
19 source=("http://free-electrons.com/pub/mirror/${pkgname}${pkgver}.c")
20 noextract=()
21 md5sums=('e23f236e94be4c429aa1ceac0f01544b')
23 build() {
24   cd "$srcdir/"
25   gcc devmem2.c -o devmem2
26   install -D -m755 devmem2 ${pkgdir}/usr/sbin/devmem2
29 # vim:set ts=2 sw=2 et: