summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/file.cc9
-rw-r--r--methods/makefile13
2 files changed, 22 insertions, 0 deletions
diff --git a/methods/file.cc b/methods/file.cc
new file mode 100644
index 000000000..017222d84
--- /dev/null
+++ b/methods/file.cc
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+int main()
+{
+ printf("100 Capabilities\n"
+ "Version: 1.0\n"
+ "Pre-Scan: true\n\n"
+ "Version: 1.0\n\n");
+}
diff --git a/methods/makefile b/methods/makefile
new file mode 100644
index 000000000..dbe159a7a
--- /dev/null
+++ b/methods/makefile
@@ -0,0 +1,13 @@
+# -*- make -*-
+BASE=..
+SUBDIR=methods
+
+# Bring in the default rules
+include ../buildlib/defaults.mak
+BIN := $(BIN)/methods
+
+# The file method
+PROGRAM=file
+SLIBS = -lapt-pkg
+SOURCE = file.cc
+include $(PROGRAM_H)