From befc9885ebbc66fc3c2f927885b7e956998a1bce Mon Sep 17 00:00:00 2001 From: Mikhail Kolesnik Date: Tue, 22 Jan 2013 20:22:27 +0200 Subject: [PATCH] vmtouch: new port --- vmtouch/.footprint | 6 ++++++ vmtouch/.md5sum | 2 ++ vmtouch/Pkgfile | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 vmtouch/.footprint create mode 100644 vmtouch/.md5sum create mode 100644 vmtouch/Pkgfile diff --git a/vmtouch/.footprint b/vmtouch/.footprint new file mode 100644 index 000000000..ef8d7de00 --- /dev/null +++ b/vmtouch/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/vmtouch +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/vmtouch.8.gz diff --git a/vmtouch/.md5sum b/vmtouch/.md5sum new file mode 100644 index 000000000..dfa98a149 --- /dev/null +++ b/vmtouch/.md5sum @@ -0,0 +1,2 @@ +5586c6a9c79d93acd1a07342ea487a51 vmtouch.8 +575d072ee193784b3e453f90e44cb070 vmtouch.c diff --git a/vmtouch/Pkgfile b/vmtouch/Pkgfile new file mode 100644 index 000000000..d1b4841b1 --- /dev/null +++ b/vmtouch/Pkgfile @@ -0,0 +1,16 @@ +# Description: A portable file system cache diagnostics and control tool +# URL: http://hoytech.com/vmtouch/ +# Maintainer: Mikhail Kolesnik, mike at openbunker dot org +# Depends on: + +name=vmtouch +version=0.8.0 +release=1 +source=(http://hoytech.com/$name/$name.c \ + http://hoytech.com/$name/$name.8) + +build() { + gcc $CFLAGS -o $name $name.c + install -m 644 -D $name.8 $PKG/usr/man/man8/$name.8 + install -m 755 -D $name $PKG/usr/bin/$name +}