Early mehods
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:07 +0000 (16:51 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:07 +0000 (16:51 +0000)
Author: jgg
Date: 1998-10-20 02:43:03 GMT
Early mehods

methods/file.cc [new file with mode: 0644]
methods/makefile [new file with mode: 0644]

diff --git a/methods/file.cc b/methods/file.cc
new file mode 100644 (file)
index 0000000..017222d
--- /dev/null
@@ -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 (file)
index 0000000..dbe159a
--- /dev/null
@@ -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)