summaryrefslogtreecommitdiff
path: root/packages/dbench
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-10-14 15:08:39 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-10-14 15:08:39 +0000
commit45c6c27f793e296107bdc8bf0e197a8670120346 (patch)
treeae39f3c3cf75bd33f4b98e3fc75dd2139f6cf1ab /packages/dbench
parentb741ba60ef1df311fc9ac4f64ac68fe94e07471f (diff)
dbench: added 3.04
Diffstat (limited to 'packages/dbench')
-rw-r--r--packages/dbench/.mtn2git_empty0
-rw-r--r--packages/dbench/dbench/.mtn2git_empty0
-rw-r--r--packages/dbench/dbench/destdir.patch23
-rw-r--r--packages/dbench/dbench_3.04.bb8
4 files changed, 31 insertions, 0 deletions
diff --git a/packages/dbench/.mtn2git_empty b/packages/dbench/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dbench/.mtn2git_empty
diff --git a/packages/dbench/dbench/.mtn2git_empty b/packages/dbench/dbench/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dbench/dbench/.mtn2git_empty
diff --git a/packages/dbench/dbench/destdir.patch b/packages/dbench/dbench/destdir.patch
new file mode 100644
index 0000000000..9fe1508f97
--- /dev/null
+++ b/packages/dbench/dbench/destdir.patch
@@ -0,0 +1,23 @@
+Index: dbench-3.04/Makefile.in
+===================================================================
+--- dbench-3.04.orig/Makefile.in 2006-09-17 20:21:07.000000000 +0200
++++ dbench-3.04/Makefile.in 2006-09-17 20:21:36.000000000 +0200
+@@ -32,12 +32,12 @@
+
+ # Careful here: don't install client.txt over itself.
+ install: all
+- ${INSTALLCMD} -d $(bindir) $(datadir) $(mandir)
+- ${INSTALLCMD} dbench tbench tbench_srv $(bindir)
+- ${INSTALLCMD} client.txt $(datadir)
+- ${INSTALLCMD} -m644 dbench.1 $(mandir)
+- ln -sf dbench.1 $(mandir)/tbench.1
+- ln -sf dbench.1 $(mandir)/tbench_srv.1
++ ${INSTALLCMD} -d $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) $(DESTDIR)$(mandir)
++ ${INSTALLCMD} dbench tbench tbench_srv $(DESTDIR)$(bindir)
++ ${INSTALLCMD} client.txt $(DESTDIR)$(datadir)
++ ${INSTALLCMD} -m644 dbench.1 $(DESTDIR)$(mandir)
++ ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench.1
++ ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench_srv.1
+
+ clean:
+ rm -f *.o *~ dbench tbench tbench_srv
diff --git a/packages/dbench/dbench_3.04.bb b/packages/dbench/dbench_3.04.bb
new file mode 100644
index 0000000000..7cc3755821
--- /dev/null
+++ b/packages/dbench/dbench_3.04.bb
@@ -0,0 +1,8 @@
+DESCRIPTION = "filesystem load benchmark"
+HOMEPAGE = "http://samba.org/ftp/tridge/dbench/"
+LICENSE = "GPL"
+
+SRC_URI = "http://samba.org/ftp/tridge/dbench/dbench-${PV}.tar.gz \
+ file://destdir.patch;patch=1"
+
+inherit autotools