diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-10 19:39:38 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-10 19:39:38 +0200 |
commit | f6a9602cf6f03ced84cda8257d79a64671c507d0 (patch) | |
tree | 4ca609f765043402abcb34d7651d855221162fdb /pcr/devmem | |
parent | 9434f08c80f838beb257aecf7ecb79b7ce0ec96a (diff) | |
download | abslibre-f6a9602cf6f03ced84cda8257d79a64671c507d0.tar.gz abslibre-f6a9602cf6f03ced84cda8257d79a64671c507d0.tar.bz2 abslibre-f6a9602cf6f03ced84cda8257d79a64671c507d0.zip |
devmem
Diffstat (limited to 'pcr/devmem')
-rw-r--r-- | pcr/devmem/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/devmem/PKGBUILD b/pcr/devmem/PKGBUILD new file mode 100644 index 000000000..ab664447e --- /dev/null +++ b/pcr/devmem/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor (Arch) : Brice Waegeneire < brice dot wge at gmail dot com > +# Contributor (Arch) : Alexander Lam <lambchop468 *AT* gmail.com> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +pkgname=devmem +pkgver=2 +pkgrel=2 +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') +source=("http://free-electrons.com/pub/mirror/${pkgname}${pkgver}.c") + + +build() { + cd "$srcdir/" + gcc devmem2.c -o devmem2 +} + +package() { + install -D -m755 ${srcdir}/devmem2 ${pkgdir}/usr/bin/devmem2 +} + +# vim:set ts=2 sw=2 et: |