summaryrefslogtreecommitdiffstats
path: root/opkg.pkg
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-02-09 10:56:43 (EST)
committer P. J. McDermott <pjm@nac.net>2012-02-09 10:56:43 (EST)
commitf431cd1a48a6a5186633bf5f16a2d21cb4399e8c (patch)
tree337e36fd9d7884fcf76ba769ab7b0039f52d9d31 /opkg.pkg
Initial commit.
TODO: Copyright information. Including source code and a patch to add files generated by GNU Autoconf is not very pretty... Running 'make dist' in the SVN trunk to generate a source archive might be better.
Diffstat (limited to 'opkg.pkg')
-rw-r--r--opkg.pkg/control12
-rw-r--r--opkg.pkg/install2
-rwxr-xr-xopkg.pkg/postinst3
-rwxr-xr-xopkg.pkg/prerm3
4 files changed, 20 insertions, 0 deletions
diff --git a/opkg.pkg/control b/opkg.pkg/control
new file mode 100644
index 0000000..6d0394e
--- /dev/null
+++ b/opkg.pkg/control
@@ -0,0 +1,12 @@
+Package: opkg
+Architecture: any
+Depends: libopkg.1
+Description: Open PacKaGe Management
+ Opkg is a lightweight package management system. It is written in C and
+ resembles apt/dpkg in operation. It is intended for use on embedded Linux
+ devices and is used in this capacity in the OpenEmbedded and OpenWrt projects.
+ .
+ As best it can, opkg maintains backwards compatibility with ipkg and conforms
+ to a subset of debian's policy manual regarding control files.
+ .
+ This package provides the opkg utilities.
diff --git a/opkg.pkg/install b/opkg.pkg/install
new file mode 100644
index 0000000..03d9de7
--- /dev/null
+++ b/opkg.pkg/install
@@ -0,0 +1,2 @@
+/usr/bin
+/etc
diff --git a/opkg.pkg/postinst b/opkg.pkg/postinst
new file mode 100755
index 0000000..c4baf40
--- /dev/null
+++ b/opkg.pkg/postinst
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+ln -s opkg-cl /usr/bin/opkg
diff --git a/opkg.pkg/prerm b/opkg.pkg/prerm
new file mode 100755
index 0000000..91527fa
--- /dev/null
+++ b/opkg.pkg/prerm
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+rm /usr/bin/opkg